mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[CMLIB] UNIMPLEMENTED_ONCE less hand-knitted (#5889)
allows to get rid of static var PrintCount, at least visually in the code
This commit is contained in:
parent
efb9128c24
commit
f6de3881ca
1 changed files with 3 additions and 8 deletions
|
@ -13,6 +13,8 @@ static BOOLEAN CMAPI
|
||||||
HvpWriteLog(
|
HvpWriteLog(
|
||||||
PHHIVE RegistryHive)
|
PHHIVE RegistryHive)
|
||||||
{
|
{
|
||||||
|
UNIMPLEMENTED_ONCE;
|
||||||
|
#if 0 // UNIMPLEMENTED
|
||||||
ULONG FileOffset;
|
ULONG FileOffset;
|
||||||
UINT32 BufferSize;
|
UINT32 BufferSize;
|
||||||
UINT32 BitmapSize;
|
UINT32 BitmapSize;
|
||||||
|
@ -22,13 +24,6 @@ HvpWriteLog(
|
||||||
ULONG LastIndex;
|
ULONG LastIndex;
|
||||||
PVOID BlockPtr;
|
PVOID BlockPtr;
|
||||||
BOOLEAN Success;
|
BOOLEAN Success;
|
||||||
static ULONG PrintCount = 0;
|
|
||||||
|
|
||||||
if (PrintCount++ == 0)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
ASSERT(RegistryHive->ReadOnly == FALSE);
|
ASSERT(RegistryHive->ReadOnly == FALSE);
|
||||||
ASSERT(RegistryHive->BaseBlock->Length ==
|
ASSERT(RegistryHive->BaseBlock->Length ==
|
||||||
|
@ -139,7 +134,7 @@ HvpWriteLog(
|
||||||
{
|
{
|
||||||
DPRINT("FileFlush failed\n");
|
DPRINT("FileFlush failed\n");
|
||||||
}
|
}
|
||||||
|
#endif // UNIMPLEMENTED
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue