s3-cli: fix uninitialized variable.
authorGünther Deschner <gd@samba.org>
Thu, 19 Aug 2010 12:02:22 +0000 (14:02 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 19 Aug 2010 12:08:06 +0000 (14:08 +0200)
Volker, please check.

Guenther

source3/libsmb/clilist.c

index 853d25d8ca9f40070f489cfefa2ca87c5b954e28..b580172317a0a82a0becacdd014cb52c9a897d40 100644 (file)
@@ -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)) {