diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-12-21 10:08:06 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-12-21 10:08:06 -0500 |
commit | 815565f918f2c64c59561dbe37efc251ddb67c22 (patch) | |
tree | 97b414acf1a598bcae9a5582b0551cf698266962 /src/lib | |
parent | 5341cfde2b3e607e294bb0d057dc3540172a8b1b (diff) | |
download | krb5-815565f918f2c64c59561dbe37efc251ddb67c22.tar.gz krb5-815565f918f2c64c59561dbe37efc251ddb67c22.tar.xz krb5-815565f918f2c64c59561dbe37efc251ddb67c22.zip |
Fix uninitialized warning in client_init.c
ticket: 7800
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/kadm5/clnt/client_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |