summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-19 14:02:22 +0200
committerGünther Deschner <gd@samba.org>2010-08-19 14:08:06 +0200
commit4349027b632d8e6757b5c46014a4a21f37ec434e (patch)
tree1dd2c0980726d10bf83a318d99bf414ee2a49e00
parent28ba023b4c2bcae3baed5aefe782d7705271af26 (diff)
downloadsamba-4349027b632d8e6757b5c46014a4a21f37ec434e.tar.gz
samba-4349027b632d8e6757b5c46014a4a21f37ec434e.tar.bz2
samba-4349027b632d8e6757b5c46014a4a21f37ec434e.zip
s3-cli: fix uninitialized variable.
Volker, please check. Guenther
-rw-r--r--source3/libsmb/clilist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index 853d25d8ca..b580172317 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -802,7 +802,7 @@ NTSTATUS cli_list_trans(struct cli_state *cli, const char *mask,
struct event_context *ev;
struct tevent_req *req;
int i, num_finfo;
- struct file_info *finfo;
+ struct file_info *finfo = NULL;
NTSTATUS status = NT_STATUS_NO_MEMORY;
if (cli_has_async_calls(cli)) {