projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7564a04
)
[NTDLL]
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sat, 11 Oct 2014 08:52:33 +0000
(08:52 +0000)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sat, 11 Oct 2014 08:52:33 +0000
(08:52 +0000)
Don't assert that the caller of exported APIs passes correct parameters.
svn path=/trunk/; revision=64658
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
ec1ee9d
..
e44cd79
100644
(file)
--- a/
reactos/dll/ntdll/ldr/ldrapi.c
+++ b/
reactos/dll/ntdll/ldr/ldrapi.c
@@
-210,9
+210,6
@@
LdrLockLoaderLock(IN ULONG Flags,
return STATUS_INVALID_PARAMETER_3;
}
- /* Do or Do Not. There is no Try */
- ASSERT((Disposition != NULL) || !(Flags & LDR_LOCK_LOADER_LOCK_FLAG_TRY_ONLY));
-
/* If the flag is set, make sure we have a valid pointer to use */
if ((Flags & LDR_LOCK_LOADER_LOCK_FLAG_TRY_ONLY) && !(Disposition))
{