From: Andrew Tridgell Date: Wed, 24 Sep 2008 22:40:55 +0000 (-0700) Subject: fixed uninitialised variable bug X-Git-Tag: samba-4.0.0alpha6~769^2~228^2~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=094afe614b6282eae47c31ee6ad015a4b0ed80ba;p=thirdparty%2Fsamba.git fixed uninitialised variable bug --- diff --git a/source4/libcli/clideltree.c b/source4/libcli/clideltree.c index d59a03f194c..28563d918e2 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; }