Skip to content

Commit

Permalink
Fix uninitialized warning in client_init.c
Browse files Browse the repository at this point in the history
ticket: 7800
  • Loading branch information
greghudson committed Dec 21, 2013
1 parent 5341cfd commit 815565f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/kadm5/clnt/client_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 815565f

Please sign in to comment.