From 6ee39a2f42e83768f99e742f76dd4a1b785fcdae Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 21 Jan 2011 15:35:11 +0100 Subject: s3-torture: fix uninitialized status code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Fri Jan 21 16:52:34 CET 2011 on sn-devel-104 --- source3/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/torture') 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)) -- cgit