https://git.reactos.org/?p=reactos.git;a=commitdiff;h=151869c6ef34e9d2d5582…
commit 151869c6ef34e9d2d5582b9c15aaa025904dfdc5
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Wed Oct 11 08:20:48 2017 +0200
[RDBSS] Avoid uninit var usage.
CID 1419475
---
sdk/lib/drivers/rdbsslib/rdbss.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sdk/lib/drivers/rdbsslib/rdbss.c b/sdk/lib/drivers/rdbsslib/rdbss.c
index 84b172e735..0163a2425d 100644
--- a/sdk/lib/drivers/rdbsslib/rdbss.c
+++ b/sdk/lib/drivers/rdbsslib/rdbss.c
@@ -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)