assignment used as truth value to reduce gcc -Wall flames.
misc_free.c (kadm5_free_name_list, krb5_free_key_data_contents: Add
KADM5_OK return value upon success.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8823
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Jul 25 12:04:32 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * admin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis around
+ assignment used as truth value to reduce gcc -Wall flames.
+
+ * misc_free.c (kadm5_free_name_list, krb5_free_key_data_contents:
+ Add KADM5_OK return value upon success.
+
Wed Jul 24 18:18:39 1996 Tom Yu <tlyu@voltage-multiplier.mit.edu>
* Makefile.in, configure.in: fix shared lib lossage by
* Got that?
*/
#define _KADM5_CHECK_HANDLE(handle) \
-{ int code; if (code = _kadm5_check_handle((void *)handle)) return code; }
+{ int code; if ((code = _kadm5_check_handle((void *)handle))) return code; }
kadm5_ret_t _kadm5_chpass_principal_util(void *server_handle,
void *lhandle,
while (count--)
free(names[count]);
free(names);
+ return KADM5_OK;
}
free(key->key_data_contents[i]);
}
}
+ return KADM5_OK;
}
kadm5_ret_t