kdc: Fix warnings

This commit is contained in:
Nicolas Williams
2022-01-14 17:58:19 -06:00
parent 5a3706db5b
commit cf2bab411d
4 changed files with 7 additions and 4 deletions

View File

@@ -1064,7 +1064,7 @@ reap_kid(krb5_context context, krb5_kdc_configuration *config,
pid_t *pids, int max_kids, int options)
{
pid_t pid;
char *what;
char *what = "untracked";
int status;
int i = 0; /* quiet warnings */
int ret = 0;
@@ -1090,7 +1090,6 @@ reap_kid(krb5_context context, krb5_kdc_configuration *config,
if (i == max_kids) {
/* should not happen */
what = "untracked";
sev = "warning: ";
level = 2;
}