revert my last change to RtlClearAllBits for win32k do handle all case with NULL to it now.

svn path=/trunk/; revision=20425
This commit is contained in:
Magnus Olsen
2005-12-29 15:14:50 +00:00
parent abe5168d1c
commit 74bb1137dd
+4 -9
View File
@@ -125,15 +125,10 @@ RtlAreBitsSet(PRTL_BITMAP BitMapHeader,
VOID NTAPI
RtlClearAllBits(IN OUT PRTL_BITMAP BitMapHeader)
{
if (BitMapHeader != NULL)
{
if (BitMapHeader->Buffer != NULL)
{
memset(BitMapHeader->Buffer,
0x00,
ROUND_UP(BitMapHeader->SizeOfBitMap, 8) / 8);
}
}
memset(BitMapHeader->Buffer,
0x00,
ROUND_UP(BitMapHeader->SizeOfBitMap, 8) / 8);
}