* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58991
This commit is contained in:
Amine Khaldi 2013-05-11 11:13:23 +00:00
parent 0e4da5b660
commit 309a347ed1
3 changed files with 10 additions and 0 deletions

View file

@ -18,6 +18,7 @@ BOOLEAN
NTAPI
FsRecIsExt2Volume(IN PVOID PackedBootSector)
{
UNREFERENCED_PARAMETER(PackedBootSector);
/* For now, always return failure... */
return FALSE;
}

View file

@ -84,6 +84,8 @@ FsRecCreate(IN PDEVICE_OBJECT DeviceObject,
NTSTATUS Status;
PAGED_CODE();
UNREFERENCED_PARAMETER(DeviceObject);
/* Make sure we have a file name */
if (IoStack->FileObject->FileName.Length)
{
@ -111,6 +113,8 @@ FsRecClose(IN PDEVICE_OBJECT DeviceObject,
{
PAGED_CODE();
UNREFERENCED_PARAMETER(DeviceObject);
/* Just complete the IRP and return success */
IoCompleteRequest(Irp, IO_NO_INCREMENT);
return STATUS_SUCCESS;
@ -296,6 +300,8 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
PDEVICE_OBJECT UdfsObject;
PAGED_CODE();
UNREFERENCED_PARAMETER(RegistryPath);
/* Page the entire driver */
MmPageEntireDriver(DriverEntry);

View file

@ -24,6 +24,9 @@ FsRecIsNtfsVolume(IN PPACKED_BOOT_SECTOR BootSector,
/* Assume failure */
BOOLEAN Result = FALSE;
UNREFERENCED_PARAMETER(BytesPerSector);
UNREFERENCED_PARAMETER(NumberOfSectors);
PAGED_CODE();
if ((BootSector->Oem[0] == 'N') &&