mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 14:07:51 +00:00
[FS_REC]
* Properly mark some unreferenced parameters as such. svn path=/trunk/; revision=58991
This commit is contained in:
parent
0e4da5b660
commit
309a347ed1
3 changed files with 10 additions and 0 deletions
|
@ -18,6 +18,7 @@ BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
FsRecIsExt2Volume(IN PVOID PackedBootSector)
|
FsRecIsExt2Volume(IN PVOID PackedBootSector)
|
||||||
{
|
{
|
||||||
|
UNREFERENCED_PARAMETER(PackedBootSector);
|
||||||
/* For now, always return failure... */
|
/* For now, always return failure... */
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,6 +84,8 @@ FsRecCreate(IN PDEVICE_OBJECT DeviceObject,
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(DeviceObject);
|
||||||
|
|
||||||
/* Make sure we have a file name */
|
/* Make sure we have a file name */
|
||||||
if (IoStack->FileObject->FileName.Length)
|
if (IoStack->FileObject->FileName.Length)
|
||||||
{
|
{
|
||||||
|
@ -111,6 +113,8 @@ FsRecClose(IN PDEVICE_OBJECT DeviceObject,
|
||||||
{
|
{
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(DeviceObject);
|
||||||
|
|
||||||
/* Just complete the IRP and return success */
|
/* Just complete the IRP and return success */
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
@ -296,6 +300,8 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
||||||
PDEVICE_OBJECT UdfsObject;
|
PDEVICE_OBJECT UdfsObject;
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(RegistryPath);
|
||||||
|
|
||||||
/* Page the entire driver */
|
/* Page the entire driver */
|
||||||
MmPageEntireDriver(DriverEntry);
|
MmPageEntireDriver(DriverEntry);
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,9 @@ FsRecIsNtfsVolume(IN PPACKED_BOOT_SECTOR BootSector,
|
||||||
/* Assume failure */
|
/* Assume failure */
|
||||||
BOOLEAN Result = FALSE;
|
BOOLEAN Result = FALSE;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(BytesPerSector);
|
||||||
|
UNREFERENCED_PARAMETER(NumberOfSectors);
|
||||||
|
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
if ((BootSector->Oem[0] == 'N') &&
|
if ((BootSector->Oem[0] == 'N') &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue