From 151869c6ef34e9d2d5582b9c15aaa025904dfdc5 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Wed, 11 Oct 2017 08:20:48 +0200 Subject: [PATCH] [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 84b172e7353..0163a2425da 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)