mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
modified lib/cmlib/hivecell.c
modified lib/cmlib/hiveinit.c Silence "argument unused" warnings Patch by Samuel Serapión <samdwise51@gmail.com> svn path=/trunk/; revision=41455
This commit is contained in:
parent
f06e2b532c
commit
dc90252573
2 changed files with 6 additions and 0 deletions
|
@ -79,6 +79,7 @@ HvpGetCellFullSize(
|
||||||
PHHIVE RegistryHive,
|
PHHIVE RegistryHive,
|
||||||
PVOID Cell)
|
PVOID Cell)
|
||||||
{
|
{
|
||||||
|
UNREFERENCED_PARAMETER(RegistryHive);
|
||||||
return ((PHCELL)Cell - 1)->Size;
|
return ((PHCELL)Cell - 1)->Size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,6 +90,8 @@ HvGetCellSize(IN PHHIVE Hive,
|
||||||
PHCELL CellHeader;
|
PHCELL CellHeader;
|
||||||
LONG Size;
|
LONG Size;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(Hive);
|
||||||
|
|
||||||
CellHeader = (PHCELL)Address - 1;
|
CellHeader = (PHCELL)Address - 1;
|
||||||
Size = CellHeader->Size * -1;
|
Size = CellHeader->Size * -1;
|
||||||
Size -= sizeof(HCELL);
|
Size -= sizeof(HCELL);
|
||||||
|
|
|
@ -445,6 +445,9 @@ HvInitialize(
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PHHIVE Hive = RegistryHive;
|
PHHIVE Hive = RegistryHive;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(HiveType);
|
||||||
|
UNREFERENCED_PARAMETER(FileName);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create a new hive structure that will hold all the maintenance data.
|
* Create a new hive structure that will hold all the maintenance data.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue