mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:33:16 +00:00
- Remove redundant null check. Spotted by Amine Khaldi.
svn path=/trunk/; revision=43046
This commit is contained in:
parent
0a2995d3a6
commit
e30c013155
1 changed files with 1 additions and 5 deletions
|
@ -228,11 +228,7 @@ IntRemoveHook(PHOOK Hook, PWINSTATION_OBJECT WinStaObj, BOOL TableAlreadyLocked)
|
||||||
PTHREADINFO W32Thread;
|
PTHREADINFO W32Thread;
|
||||||
PHOOKTABLE Table = IntGetTable(Hook);
|
PHOOKTABLE Table = IntGetTable(Hook);
|
||||||
|
|
||||||
ASSERT(NULL != Table);
|
ASSERT(NULL != Table); // At this point this should not be null!
|
||||||
if (NULL == Table)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
W32Thread = ((PTHREADINFO)Hook->Thread->Tcb.Win32Thread);
|
W32Thread = ((PTHREADINFO)Hook->Thread->Tcb.Win32Thread);
|
||||||
ASSERT(W32Thread != NULL);
|
ASSERT(W32Thread != NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue