]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9730 fix logging config uninit'd rc
authorHoward Chu <hyc@openldap.org>
Fri, 29 Oct 2021 13:24:45 +0000 (14:24 +0100)
committerHoward Chu <hyc@openldap.org>
Fri, 29 Oct 2021 13:24:45 +0000 (14:24 +0100)
servers/slapd/logging.c

index 0a21ca80850579f87d8b4a45eb9f1727889c5929..43b52d796bc35ccc3406d1aaa13af701ec71019a 100644 (file)
@@ -552,7 +552,7 @@ loglevel_print( FILE *out )
 
 int
 config_logging(ConfigArgs *c) {
-       int i, rc;
+       int i, rc = 0;
 
        if ( loglevel_ops == NULL ) {
                loglevel_init();