r20191: fix bug found by the IBM checker
authorStefan Metzmacher <metze@samba.org>
Fri, 15 Dec 2006 22:00:56 +0000 (22:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:29:20 +0000 (14:29 -0500)
metze
(This used to be commit 4c1e4bfeef8d93583b6d4345dbb1b8fa90368308)

source4/lib/ldb/ldb_tdb/ldb_cache.c

index dbd5222ce59f77d71f02a5116e9b3ffd17b69eb1..55eeca56a46ad17c98d56c7cf20472c6d547391a 100644 (file)
@@ -312,7 +312,7 @@ int ltdb_cache_load(struct ldb_module *module)
        struct ldb_dn *baseinfo_dn = NULL;
        struct ldb_dn *indexlist_dn = NULL;
        uint64_t seq;
-       struct ldb_message *baseinfo;
+       struct ldb_message *baseinfo = NULL;
 
        /* a very fast check to avoid extra database reads */
        if (ltdb->cache != NULL &&