Add -Wshadow and deal with the warnings.

This commit is contained in:
Roland C. Dowdeswell
2012-02-21 11:17:55 +00:00
parent cc47c8fa7b
commit e8779d5d4a
39 changed files with 214 additions and 217 deletions

View File

@@ -61,10 +61,10 @@ kcm_enqueue_event(krb5_context context,
}
static void
print_times(time_t time, char buf[64])
print_times(time_t t, char buf[64])
{
if (time)
strftime(buf, 64, "%m-%dT%H:%M", gmtime(&time));
if (t)
strftime(buf, 64, "%m-%dT%H:%M", gmtime(&t));
else
strlcpy(buf, "never", 64);
}