diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2008-07-16 18:07:40 +0000 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2008-07-16 18:07:40 +0000 |
commit | 363c8f53c6d28e5ff46855fe6a7faf6dbc0a458e (patch) | |
tree | 6115aeff5171aa561c262b85e1db320a6cb9dc39 /ldap/servers | |
parent | db1a53425c0109d8368f1b6e0e69b46f8b0b3318 (diff) | |
download | ds-363c8f53c6d28e5ff46855fe6a7faf6dbc0a458e.tar.gz ds-363c8f53c6d28e5ff46855fe6a7faf6dbc0a458e.tar.xz ds-363c8f53c6d28e5ff46855fe6a7faf6dbc0a458e.zip |
Resolves: #436837
Summary: Dynamically reload schema via task interface
Description: cleaned up compile warnings.
Diffstat (limited to 'ldap/servers')
-rw-r--r-- | ldap/servers/plugins/schema_reload/schema_reload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/plugins/schema_reload/schema_reload.c b/ldap/servers/plugins/schema_reload/schema_reload.c index ac389cbb..4b27366d 100644 --- a/ldap/servers/plugins/schema_reload/schema_reload.c +++ b/ldap/servers/plugins/schema_reload/schema_reload.c @@ -71,6 +71,7 @@ * [ schemadir: path to reload files from ] */ +#include "slap.h" #include "slapi-plugin.h" #include "nspr.h" #include "dirver.h" /* PRODUCTTEXT */ @@ -133,7 +134,7 @@ static void schemareload_thread(void *arg) { Slapi_Task *task = (Slapi_Task *)arg; - int i, rv = 0; + int rv = 0; int total_work = 2; /* fetch our argument from the task */ char *schemadir = (char *)slapi_task_get_data(task); @@ -216,7 +217,6 @@ schemareload_add(Slapi_PBlock *pb, Slapi_Entry *e, const char *cn; const char *schemadir = NULL; int rv = SLAPI_DSE_CALLBACK_OK; - Slapi_PBlock *mypb = NULL; Slapi_Task *task = NULL; *returncode = LDAP_SUCCESS; |