[NTDLL_APITEST]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 6 Oct 2012 14:50:18 +0000 (14:50 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 6 Oct 2012 14:50:18 +0000 (14:50 +0000)
Initialize Length to default value.

svn path=/trunk/; revision=57498

rostests/apitests/ntdll/RtlDosSearchPath_U.c

index 77117d5..b807ce4 100644 (file)
@@ -101,7 +101,7 @@ CheckBuffer(
 START_TEST(RtlDosSearchPath_U)
 {
     NTSTATUS ExceptionStatus;
 START_TEST(RtlDosSearchPath_U)
 {
     NTSTATUS ExceptionStatus;
-    ULONG Length;
+    ULONG Length = 0;
     WCHAR Buffer[MAX_PATH];
     PWSTR PartName;
     BOOLEAN Okay;
     WCHAR Buffer[MAX_PATH];
     PWSTR PartName;
     BOOLEAN Okay;