]> git.sur5r.net Git - openldap/commitdiff
silence warning
authorPierangelo Masarati <ando@openldap.org>
Mon, 27 Jan 2003 21:51:33 +0000 (21:51 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 27 Jan 2003 21:51:33 +0000 (21:51 +0000)
servers/slapd/module.c

index 2dd747458d605f25b2539437d82df571e20083da..498622cdd15b5de61d1b72c30a53ca6c99422a87 100644 (file)
@@ -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();
                }