projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e60d72
)
[LDR]
author
Cameron Gutman
<aicommander@gmail.com>
Sun, 3 Jul 2011 20:16:12 +0000
(20:16 +0000)
committer
Cameron 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
patch
|
blob
|
history
diff --git
a/reactos/dll/ntdll/ldr/ldrapi.c
b/reactos/dll/ntdll/ldr/ldrapi.c
index
cf9b5d2
..
5d9d1f7
100644
(file)
--- a/
reactos/dll/ntdll/ldr/ldrapi.c
+++ b/
reactos/dll/ntdll/ldr/ldrapi.c
@@
-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;