From 741bddca2f6cc8969afc6cba386c16f043c3a92a Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 10 Apr 2006 09:51:20 +0000 Subject: [PATCH] * kdb5.c (kdb_unlock_lib_lock, kdb_destroy_lib_lock): Cast 0 to void to silence compiler warning. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17884 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kdb/ChangeLog | 5 +++++ src/lib/kdb/kdb5.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 340c8d7dc..0c94f2e2f 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,3 +1,8 @@ +2006-04-10 Ken Raeburn + + * kdb5.c (kdb_unlock_lib_lock, kdb_destroy_lib_lock): Cast 0 to + void to silence compiler warning. + 2006-04-03 Ken Raeburn * Makefile.in (DEFS): Make empty. diff --git a/src/lib/kdb/kdb5.c b/src/lib/kdb/kdb5.c index 98b53720b..ad5cb0580 100644 --- a/src/lib/kdb/kdb5.c +++ b/src/lib/kdb/kdb5.c @@ -98,9 +98,9 @@ kdb_unlock_list() } #define kdb_init_lib_lock(a) 0 -#define kdb_destroy_lib_lock(a) 0 +#define kdb_destroy_lib_lock(a) (void)0 #define kdb_lock_lib_lock(a, b) 0 -#define kdb_unlock_lib_lock(a, b) 0 +#define kdb_unlock_lib_lock(a, b) (void)0 /* Caller must free result*/ -- 2.26.2