[FS_REC]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 11 May 2013 11:13:23 +0000 (11:13 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 11 May 2013 11:13:23 +0000 (11:13 +0000)
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58991

reactos/drivers/filesystems/fs_rec/ext2.c
reactos/drivers/filesystems/fs_rec/fs_rec.c
reactos/drivers/filesystems/fs_rec/ntfs.c

index 78e0a18..46a6f43 100644 (file)
@@ -18,6 +18,7 @@ BOOLEAN
 NTAPI
 FsRecIsExt2Volume(IN PVOID PackedBootSector)
 {
+    UNREFERENCED_PARAMETER(PackedBootSector);
     /* For now, always return failure... */
     return FALSE;
 }
index a74d808..a12d6bf 100644 (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);
 
index bc09a3d..11ae4c7 100644 (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') &&