[RDBSS] Avoid uninit var usage.
authorPierre Schweitzer <pierre@reactos.org>
Wed, 11 Oct 2017 06:20:48 +0000 (08:20 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 11 Oct 2017 06:20:48 +0000 (08:20 +0200)
CID 1419475

sdk/lib/drivers/rdbsslib/rdbss.c

index 84b172e..0163a24 100644 (file)
@@ -1052,6 +1052,9 @@ RxCancelNotifyChangeDirectoryRequestsForVNetRoot(
     /* Lock our list lock */
     KeAcquireSpinLock(&RxStrucSupSpinLock, &OldIrql);
 
+    /* Assume success */
+    Status = STATUS_SUCCESS;
+
     /* Now, browse all the active contexts, to find the associated ones */
     Entry = RxActiveContexts.Flink;
     while (Entry != &RxActiveContexts)