summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 18:25:20 +0200
committerGünther Deschner <gd@samba.org>2010-08-19 12:36:23 +0200
commitf6ac919a91663a97fbc27fb8430c73e13bf03a55 (patch)
tree93d110aa80b3381a04c8e606c946ade697ea01d3
parent9b8f7a2a01845a37176ce7b4b4024503d6e9ca62 (diff)
downloadsamba-f6ac919a91663a97fbc27fb8430c73e13bf03a55.tar.gz
samba-f6ac919a91663a97fbc27fb8430c73e13bf03a55.tar.bz2
samba-f6ac919a91663a97fbc27fb8430c73e13bf03a55.zip
s3-libsmb: fix some uninitialized variables.
Volker, please check. Guenther
-rw-r--r--source3/libsmb/clilist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index 29b16cb1c5..853d25d8ca 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -618,10 +618,10 @@ static void cli_list_trans_done(struct tevent_req *subreq)
int ff_searchcount;
bool ff_eos;
char *p, *p2;
- uint32_t resume_key;
+ uint32_t resume_key = 0;
int i;
DATA_BLOB last_name_raw;
- struct file_info *finfo;
+ struct file_info *finfo = NULL;
size_t nlen, param_len;
min_param = (state->first ? 6 : 4);