]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Cleanup uninit'd vars
authorHoward Chu <hyc@openldap.org>
Tue, 1 Aug 2017 20:47:15 +0000 (21:47 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 12 Oct 2020 16:11:36 +0000 (16:11 +0000)
servers/slapd/back-mdb/search.c

index 6677532383927ea8d8169c5fbecc5b2568c2910c..c08e2b2d56e292c4aaa2f376cf2ae359612be6c9 100644 (file)
@@ -719,6 +719,7 @@ adminlimit:
        }
 
        wwctx.flag = 0;
+       wwctx.nentries = 0;
        /* If we're running in our own read txn */
        if (  moi == &opinfo ) {
                cb.sc_writewait = mdb_writewait;