[LDR]
authorCameron Gutman <aicommander@gmail.com>
Sun, 3 Jul 2011 20:16:12 +0000 (20:16 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sun, 3 Jul 2011 20:16:12 +0000 (20:16 +0000)
- "Just to be sure" is no reason to overwrite a potential DLL load failure status

svn path=/trunk/; revision=52522

reactos/dll/ntdll/ldr/ldrapi.c

index cf9b5d2..5d9d1f7 100644 (file)
@@ -346,9 +346,6 @@ LdrLoadDll(IN PWSTR SearchPath OPTIONAL,
                          BaseAddress,
                          TRUE);
 
-    /* Set it to success just to be sure */
-    Status = STATUS_SUCCESS;
-
     /* Restore the old TLD DLL */
     LdrpTopLevelDllBeingLoaded = OldTldDll;