- "Just to be sure" is no reason to overwrite a potential DLL load failure status

svn path=/trunk/; revision=52522
This commit is contained in:
Cameron Gutman 2011-07-03 20:16:12 +00:00
parent 4e60d722c9
commit 7056e2e757

View file

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