s3: Fix an uninitialized variable warning
authorVolker Lendecke <vl@samba.org>
Sun, 3 Jan 2010 11:58:01 +0000 (12:58 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 3 Jan 2010 20:14:58 +0000 (21:14 +0100)
source3/torture/torture.c

index f89f3206316f04b7fc60e125036bacd0d3f7f20d..755d22bc2dfca9ad16898de96b01dc5f4aded0f9 100644 (file)
@@ -5801,7 +5801,8 @@ static bool run_notify_bench(int dummy)
        struct tevent_context *ev;
        NTSTATUS status;
        uint16_t dnum;
-       struct tevent_req *req1, *req2;
+       struct tevent_req *req1;
+       struct tevent_req *req2 = NULL;
        int i, num_unc_names;
        int num_finished = 0;