diff options
author | Jeremy Allison <jra@samba.org> | 2002-11-26 17:40:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-11-26 17:40:25 +0000 |
commit | edc4c1f643023b4c980a0b4518512e2cbeadce0c (patch) | |
tree | c0798dc047cac35ce64e7922e02666907dc13ba8 /source3/libsmb | |
parent | 44c8c165462ee0a5e7050893c5379638691708cd (diff) | |
download | samba-edc4c1f643023b4c980a0b4518512e2cbeadce0c.tar.gz samba-edc4c1f643023b4c980a0b4518512e2cbeadce0c.tar.bz2 samba-edc4c1f643023b4c980a0b4518512e2cbeadce0c.zip |
Ensure data is not used uninitialised.
Jeremy.
(This used to be commit 3c2d396aa8d674970b2cc043fd32d2648fcd004e)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/namecache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namecache.c b/source3/libsmb/namecache.c index 4304197a26..724e0237d2 100644 --- a/source3/libsmb/namecache.c +++ b/source3/libsmb/namecache.c @@ -161,7 +161,7 @@ BOOL namecache_fetch(const char *name, int name_type, struct in_addr **ip_list, int *num_names) { TDB_DATA key, value; - struct nc_value *data; + struct nc_value *data = NULL; time_t now; int i; |