From e89048c403090ad87ff0ee963f09865945196dbc Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 31 Aug 2010 21:17:30 -0600 Subject: fix compiler warnings - unused vars/funcs, invalid casts This commit fixes many compiler warnings, mostly for things like unused variables, functions, goto labels. One place was using csngen_free instead of csn_free. A couple of places were using casts incorrectly, and several places needed some casts added. --- ldap/servers/plugins/uiduniq/utils.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ldap/servers/plugins/uiduniq/utils.c') diff --git a/ldap/servers/plugins/uiduniq/utils.c b/ldap/servers/plugins/uiduniq/utils.c index e99573bf..49660897 100644 --- a/ldap/servers/plugins/uiduniq/utils.c +++ b/ldap/servers/plugins/uiduniq/utils.c @@ -62,11 +62,6 @@ static char *plugin_name = "utils"; -/* - * Lock for updating a counter (global for all counters) - */ -static Slapi_Mutex *counter_lock = NULL; - /* ------------------------------------------------------------ */ /* * op_error - Record (and report) an operational error. -- cgit