]> git.sur5r.net Git - openldap/commitdiff
ITS#3150 fix uninit'd return_val
authorHoward Chu <hyc@openldap.org>
Wed, 19 May 2004 22:07:06 +0000 (22:07 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 19 May 2004 22:07:06 +0000 (22:07 +0000)
servers/slapd/overlays/pcache.c

index 0a7bd8619046aa72fdfcbedfcff67d1ced499d51..886380f1caf75a2410fd01976cb74fe1d3422dbf 100644 (file)
@@ -1072,7 +1072,7 @@ cache_entries(
        cache_manager *cm = on->on_bi.bi_private;
        query_manager*          qm = cm->qm;
        int             i;
-       int             return_val;
+       int             return_val = 0;
        Entry           *e;
        struct berval   crp_uuid;
        char            uuidbuf[ LDAP_LUTIL_UUIDSTR_BUFSIZE ];