mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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(
|
||||
PHHIVE RegistryHive)
|
||||
{
|
||||
UNIMPLEMENTED_ONCE;
|
||||
#if 0 // UNIMPLEMENTED
|
||||
ULONG FileOffset;
|
||||
UINT32 BufferSize;
|
||||
UINT32 BitmapSize;
|
||||
|
@ -22,13 +24,6 @@ HvpWriteLog(
|
|||
ULONG LastIndex;
|
||||
PVOID BlockPtr;
|
||||
BOOLEAN Success;
|
||||
static ULONG PrintCount = 0;
|
||||
|
||||
if (PrintCount++ == 0)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
ASSERT(RegistryHive->ReadOnly == FALSE);
|
||||
ASSERT(RegistryHive->BaseBlock->Length ==
|
||||
|
@ -139,7 +134,7 @@ HvpWriteLog(
|
|||
{
|
||||
DPRINT("FileFlush failed\n");
|
||||
}
|
||||
|
||||
#endif // UNIMPLEMENTED
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue