Fix warnings.

This commit is contained in:
Nicolas Williams
2011-07-20 00:01:53 -05:00
parent e020dc25b8
commit a246c394d2
2 changed files with 1 additions and 2 deletions

View File

@@ -193,7 +193,6 @@ add_kvno_diff(krb5_context context, kadm5_principal_ent_rec *princ,
HDB_extension ext;
krb5_data buf;
size_t size = 0;
int type;
if (kvno_diff < 0)
return;

View File

@@ -90,7 +90,7 @@ main(int argc, char **argv)
keyset.kvno = kvno_integer;
keyset.set_time = malloc(sizeof (*keyset.set_time));
if (keyset.set_time == NULL)
errx(1, "couldn't allocate set_time field of keyset", ret);
errx(1, "couldn't allocate set_time field of keyset");
*keyset.set_time = time(NULL);
ret = hdb_generate_key_set_password(context, principal, password_str,