]> git.sur5r.net Git - openldap/commitdiff
Fix uninit'd var
authorHoward Chu <hyc@openldap.org>
Fri, 25 Feb 2011 05:32:05 +0000 (05:32 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 25 Feb 2011 05:32:05 +0000 (05:32 +0000)
servers/slapd/overlays/accesslog.c

index e217805979ed0b2a20dc1ca22ef70d1cceb16c73..0c97edbbcf2b24ceab46041044d8d193b38ab207 100644 (file)
@@ -972,7 +972,7 @@ log_cf_gen(ConfigArgs *c)
                        }
                        break;
                case LOG_BASE: {
-                       slap_mask_t m;
+                       slap_mask_t m = 0;
                        rc = verbstring_to_mask( logops, c->argv[1], '|', &m );
                        if ( rc == 0 ) {
                                struct berval dn, ndn;