From 01dd56d3e51180afef8158855ae0e747b43ba89a Mon Sep 17 00:00:00 2001 From: Rich Megginson <rmeggins@xxxxxxxxxx> Date: Thu, 19 Jan 2012 13:48:04 -0700 Subject: [PATCH] fix compiler warnings --- ldap/servers/plugins/linkedattrs/linked_attrs.h | 1 + ldap/servers/plugins/memberof/memberof.c | 1 - ldap/servers/plugins/memberof/memberof.h | 1 + 3 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ldap/servers/plugins/linkedattrs/linked_attrs.h b/ldap/servers/plugins/linkedattrs/linked_attrs.h index 8dfb4f0..879513d 100644 --- a/ldap/servers/plugins/linkedattrs/linked_attrs.h +++ b/ldap/servers/plugins/linkedattrs/linked_attrs.h @@ -137,3 +137,4 @@ int linked_attrs_fixup_task_add(Slapi_PBlock *pb, Slapi_Entry *e, Slapi_Entry *eAfter, int *returncode, char *returntext, void *arg); +int g_get_shutdown(); /* declared in proto-slap.h */ diff --git a/ldap/servers/plugins/memberof/memberof.c b/ldap/servers/plugins/memberof/memberof.c index db6cd3e..e7fcf22 100644 --- a/ldap/servers/plugins/memberof/memberof.c +++ b/ldap/servers/plugins/memberof/memberof.c @@ -2451,7 +2451,6 @@ int memberof_fix_memberof_callback(Slapi_Entry *e, void *callback_data) memberof_del_dn_type_callback(e, &del_data); } -bail: slapi_valueset_free(groups); return rc; diff --git a/ldap/servers/plugins/memberof/memberof.h b/ldap/servers/plugins/memberof/memberof.h index e516abe..fdf1253 100644 --- a/ldap/servers/plugins/memberof/memberof.h +++ b/ldap/servers/plugins/memberof/memberof.h @@ -93,5 +93,6 @@ void memberof_rlock_config(); void memberof_wlock_config(); void memberof_unlock_config(); +int g_get_shutdown(); /* declared in proto-slap.h */ #endif /* _MEMBEROF_H_ */ -- 1.7.1
-- 389-devel mailing list 389-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-devel