mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +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;
|
Driver = Driver->Next;
|
||||||
}
|
}
|
||||||
DPRINT( "Driver %S not found to reference, generic count: %d\n", Name, GenericDriver->ReferenceCount );
|
DPRINT( "Driver %S not found to reference, generic count: %d\n", Name, GenericDriver->ReferenceCount );
|
||||||
assert( GenericDriver != 0 );
|
ASSERT( GenericDriver != 0 );
|
||||||
return ++GenericDriver->ReferenceCount;
|
return ++GenericDriver->ReferenceCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -615,7 +615,7 @@ INT DRIVER_UnreferenceDriver (LPCWSTR Name)
|
||||||
Driver = Driver->Next;
|
Driver = Driver->Next;
|
||||||
}
|
}
|
||||||
DPRINT( "Driver '%S' not found to dereference, generic count: %d\n", Name, GenericDriver->ReferenceCount );
|
DPRINT( "Driver '%S' not found to dereference, generic count: %d\n", Name, GenericDriver->ReferenceCount );
|
||||||
assert( GenericDriver != 0 );
|
ASSERT( GenericDriver != 0 );
|
||||||
return --GenericDriver->ReferenceCount;
|
return --GenericDriver->ReferenceCount;
|
||||||
}
|
}
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
|
@ -145,7 +145,7 @@ MsgMemorySize(PMSGMEMORY MsgMemoryEntry, WPARAM wParam, LPARAM lParam)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert(FALSE);
|
ASSERT(FALSE);
|
||||||
Size = 0;
|
Size = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1745,7 +1745,7 @@ IntEnumDisplaySettings(
|
||||||
}
|
}
|
||||||
while (iModeNum-- > 0 && CachedMode < CachedDevModesEnd)
|
while (iModeNum-- > 0 && CachedMode < CachedDevModesEnd)
|
||||||
{
|
{
|
||||||
assert(CachedMode->dmSize > 0);
|
ASSERT(CachedMode->dmSize > 0);
|
||||||
CachedMode = (DEVMODEW *)((PCHAR)CachedMode + CachedMode->dmSize + CachedMode->dmDriverExtra);
|
CachedMode = (DEVMODEW *)((PCHAR)CachedMode + CachedMode->dmSize + CachedMode->dmDriverExtra);
|
||||||
}
|
}
|
||||||
if (CachedMode >= CachedDevModesEnd)
|
if (CachedMode >= CachedDevModesEnd)
|
||||||
|
|
Loading…
Reference in a new issue