summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))