diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-03-05 08:12:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:54 -0500 |
commit | 4eed5ad01647728a258cfda9c676711d524014a4 (patch) | |
tree | 7e7bc99c2414a8c40996671197d4fc0c76f9e1d0 /source3 | |
parent | a5f84481e38ffc79043bfbac5f0353856b77b141 (diff) | |
download | samba-4eed5ad01647728a258cfda9c676711d524014a4.tar.gz samba-4eed5ad01647728a258cfda9c676711d524014a4.tar.bz2 samba-4eed5ad01647728a258cfda9c676711d524014a4.zip |
r5657: Fix uninitialized variable warning
(This used to be commit f74737ce574aa4b47367fccb1b95769778187515)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clidfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 867e8e9ba0..e4308fdb5a 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -484,7 +484,7 @@ BOOL cli_dfs_get_referral( struct cli_state *cli, const char *path, char *p; size_t pathlen = 2*(strlen(path)+1); uint16 num_referrals; - CLIENT_DFS_REFERRAL *referrals; + CLIENT_DFS_REFERRAL *referrals = NULL; memset(param, 0, sizeof(param)); SSVAL(param, 0, 0x03); /* max referral level */ |