summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-01-21 15:35:11 +0100
committerGünther Deschner <gd@samba.org>2011-01-21 16:52:34 +0100
commit6ee39a2f42e83768f99e742f76dd4a1b785fcdae (patch)
tree7672f14b019f4d3e13683ea58e85fd4fd0637fcf /source3
parent6923cc801669ad31741a9e2a024e0d35f1a16d58 (diff)
downloadsamba-6ee39a2f42e83768f99e742f76dd4a1b785fcdae.tar.gz
samba-6ee39a2f42e83768f99e742f76dd4a1b785fcdae.tar.bz2
samba-6ee39a2f42e83768f99e742f76dd4a1b785fcdae.zip
s3-torture: fix uninitialized status code.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 21 16:52:34 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 98229234b2..df559400ad 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -667,7 +667,7 @@ static bool rw_torture3(struct cli_state *c, char *lockfname)
unsigned countprev = 0;
ssize_t sent = 0;
bool correct = True;
- NTSTATUS status;
+ NTSTATUS status = NT_STATUS_OK;
srandom(1);
for (i = 0; i < sizeof(buf); i += sizeof(uint32))