From: Pierangelo Masarati Date: Mon, 27 Jan 2003 21:51:33 +0000 (+0000) Subject: silence warning X-Git-Tag: NO_SLAP_OP_BLOCKS~483 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e38e50646b2be439634774c5ccb3496d28fa739e;p=openldap silence warning --- diff --git a/servers/slapd/module.c b/servers/slapd/module.c index 2dd747458d..498622cdd1 100644 --- a/servers/slapd/module.c +++ b/servers/slapd/module.c @@ -242,7 +242,7 @@ static int module_unload (module_loaded_t *module) } /* call module's terminate routine, if present */ - if (terminate = lt_dlsym(module->lib, "term_module")) { + if ((terminate = lt_dlsym(module->lib, "term_module"))) { terminate(); }