- Define UNREFERENCED_PARAMETER for cmlib when built as host and reapply 41455.

svn path=/trunk/; revision=41470
This commit is contained in:
Stefan Ginsberg
2009-06-19 16:05:16 +00:00
parent db429325e1
commit d749e95880
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -59,6 +59,7 @@
IN PRTL_BITMAP BitMapHeader);
#define RtlCheckBit(BMH,BP) (((((PLONG)(BMH)->Buffer)[(BP) / 32]) >> ((BP) % 32)) & 0x1)
#define UNREFERENCED_PARAMETER(P) {(P)=(P);}
#define PKTHREAD PVOID
#define PKGUARDED_MUTEX PVOID
+3
View File
@@ -79,6 +79,7 @@ HvpGetCellFullSize(
PHHIVE RegistryHive,
PVOID Cell)
{
UNREFERENCED_PARAMETER(RegistryHive);
return ((PHCELL)Cell - 1)->Size;
}
@@ -89,6 +90,8 @@ HvGetCellSize(IN PHHIVE Hive,
PHCELL CellHeader;
LONG Size;
UNREFERENCED_PARAMETER(Hive);
CellHeader = (PHCELL)Address - 1;
Size = CellHeader->Size * -1;
Size -= sizeof(HCELL);
+3
View File
@@ -445,6 +445,9 @@ HvInitialize(
NTSTATUS Status;
PHHIVE Hive = RegistryHive;
UNREFERENCED_PARAMETER(HiveType);
UNREFERENCED_PARAMETER(FileName);
/*
* Create a new hive structure that will hold all the maintenance data.
*/