mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
[WIN32K] assert -> ASSERT
svn path=/trunk/; revision=47631
This commit is contained in:
parent
f44eee190b
commit
dd3d52b5ed
|
@ -597,7 +597,7 @@ INT DRIVER_ReferenceDriver (LPCWSTR Name)
|
|||
Driver = Driver->Next;
|
||||
}
|
||||
DPRINT( "Driver %S not found to reference, generic count: %d\n", Name, GenericDriver->ReferenceCount );
|
||||
assert( GenericDriver != 0 );
|
||||
ASSERT( GenericDriver != 0 );
|
||||
return ++GenericDriver->ReferenceCount;
|
||||
}
|
||||
|
||||
|
@ -615,7 +615,7 @@ INT DRIVER_UnreferenceDriver (LPCWSTR Name)
|
|||
Driver = Driver->Next;
|
||||
}
|
||||
DPRINT( "Driver '%S' not found to dereference, generic count: %d\n", Name, GenericDriver->ReferenceCount );
|
||||
assert( GenericDriver != 0 );
|
||||
ASSERT( GenericDriver != 0 );
|
||||
return --GenericDriver->ReferenceCount;
|
||||
}
|
||||
/* EOF */
|
||||
|
|
|
@ -145,7 +145,7 @@ MsgMemorySize(PMSGMEMORY MsgMemoryEntry, WPARAM wParam, LPARAM lParam)
|
|||
break;
|
||||
|
||||
default:
|
||||
assert(FALSE);
|
||||
ASSERT(FALSE);
|
||||
Size = 0;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1745,7 +1745,7 @@ IntEnumDisplaySettings(
|
|||
}
|
||||
while (iModeNum-- > 0 && CachedMode < CachedDevModesEnd)
|
||||
{
|
||||
assert(CachedMode->dmSize > 0);
|
||||
ASSERT(CachedMode->dmSize > 0);
|
||||
CachedMode = (DEVMODEW *)((PCHAR)CachedMode + CachedMode->dmSize + CachedMode->dmDriverExtra);
|
||||
}
|
||||
if (CachedMode >= CachedDevModesEnd)
|
||||
|
|
Loading…
Reference in a new issue