summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-09-24 15:40:55 -0700
committerAndrew Tridgell <tridge@samba.org>2008-09-24 18:10:22 -0700
commit094afe614b6282eae47c31ee6ad015a4b0ed80ba (patch)
tree1f7645641d359acbaa1663ea7d9dd47b91d117dd /source4/libcli
parent9fcafbb42cbe759711db4a47c2969bd34229e4a0 (diff)
downloadsamba-094afe614b6282eae47c31ee6ad015a4b0ed80ba.tar.gz
samba-094afe614b6282eae47c31ee6ad015a4b0ed80ba.tar.bz2
samba-094afe614b6282eae47c31ee6ad015a4b0ed80ba.zip
fixed uninitialised variable bug
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/clideltree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/clideltree.c b/source4/libcli/clideltree.c
index d59a03f194..28563d918e 100644
--- a/source4/libcli/clideltree.c
+++ b/source4/libcli/clideltree.c
@@ -91,6 +91,7 @@ int smbcli_deltree(struct smbcli_tree *tree, const char *dname)
dstate.failed = false;
/* it might be a file */
+ status = smbcli_unlink(tree, dname);
if (NT_STATUS_IS_OK(smbcli_unlink(tree, dname))) {
return 1;
}