mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:15:58 +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;
|
||||
PHOOKTABLE Table = IntGetTable(Hook);
|
||||
|
||||
ASSERT(NULL != Table);
|
||||
if (NULL == Table)
|
||||
{
|
||||
return;
|
||||
}
|
||||
ASSERT(NULL != Table); // At this point this should not be null!
|
||||
|
||||
W32Thread = ((PTHREADINFO)Hook->Thread->Tcb.Win32Thread);
|
||||
ASSERT(W32Thread != NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue