mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 18:43:37 +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
|
||||
FsRecIsExt2Volume(IN PVOID PackedBootSector)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(PackedBootSector);
|
||||
/* For now, always return failure... */
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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') &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue