Fix uninitialized variable.

This commit is contained in:
Nicolas Williams
2011-07-14 17:12:02 -05:00
committed by Nicolas Williams
parent 45294a93a7
commit 109607a355

View File

@@ -384,7 +384,8 @@ hdb_generate_key_set(krb5_context context, krb5_principal principal,
int n_ks_tuple, krb5_key_salt_tuple *ks_tuple, int n_ks_tuple, krb5_key_salt_tuple *ks_tuple,
Key **ret_key_set, size_t *nkeyset, int no_salt) Key **ret_key_set, size_t *nkeyset, int no_salt)
{ {
char **ktypes, **kp; char **ktypes = NULL;
char **kp;
krb5_error_code ret; krb5_error_code ret;
Key *k, *key_set; Key *k, *key_set;
size_t i, j; size_t i, j;