From: Greg Hudson Date: Sat, 21 Dec 2013 15:08:06 +0000 (-0500) Subject: Fix uninitialized warning in client_init.c X-Git-Tag: krb5-1.13-alpha1~269 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=815565f918f2c64c59561dbe37efc251ddb67c22;p=thirdparty%2Fkrb5.git Fix uninitialized warning in client_init.c ticket: 7800 --- diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c index 9176de37b0..211bb555dd 100644 --- a/src/lib/kadm5/clnt/client_init.c +++ b/src/lib/kadm5/clnt/client_init.c @@ -507,6 +507,9 @@ gic_iter(kadm5_server_handle_t handle, enum init_type init_type, krb5_free_principal(ctx, mcreds.server); if (code) goto error; + } else { + code = EINVAL; + goto error; } /* Steal the server principal of the creds we acquired and return it to the