mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
Remove incorrect error check
svn path=/trunk/; revision=27937
This commit is contained in:
parent
ed630922e9
commit
d59de2819e
1 changed files with 0 additions and 10 deletions
|
@ -2207,16 +2207,6 @@ InvalidParameter:
|
|||
|
||||
/* Undocumented behavior! Return the class atom as a BOOL! */
|
||||
Ret = (BOOL)ClassAtom;
|
||||
|
||||
if (!(Class->Global || Class->System) && hInstance == NULL)
|
||||
{
|
||||
if (CapturedClassName.Length == 0)
|
||||
WARN("Tried to get information of a non-existing class atom 0x%p\n", CapturedClassName.Buffer);
|
||||
else
|
||||
WARN("Tried to get information of a non-existing class \"%wZ\"\n", &CapturedClassName);
|
||||
SetLastWin32Error(ERROR_CLASS_DOES_NOT_EXIST);
|
||||
Ret = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue