aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/nt_path_converter
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nt_path_converter/device.c4
-rw-r--r--src/nt_path_converter/main.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/nt_path_converter/device.c b/src/nt_path_converter/device.c
index ae93f15..a179984 100644
--- a/src/nt_path_converter/device.c
+++ b/src/nt_path_converter/device.c
@@ -15,6 +15,8 @@ static NTSTATUS device_open(DEVICE_OBJECT *device_object, IRP *irp)
{
NTSTATUS status = STATUS_SUCCESS;
+ UNREFERENCED_PARAMETER(device_object);
+
irp->IoStatus.Status = status;
irp->IoStatus.Information = 0;
IoCompleteRequest(irp, IO_NO_INCREMENT);
@@ -73,6 +75,8 @@ static NTSTATUS device_ioctl(DEVICE_OBJECT *device_object, IRP *irp)
ioctl_handler handler;
NTSTATUS status = STATUS_UNSUCCESSFUL;
+ UNREFERENCED_PARAMETER(device_object);
+
irp->IoStatus.Status = status;
irp->IoStatus.Information = 0;
io_stack_loc = IoGetCurrentIrpStackLocation(irp);
diff --git a/src/nt_path_converter/main.c b/src/nt_path_converter/main.c
index a781a82..a1c08e8 100644
--- a/src/nt_path_converter/main.c
+++ b/src/nt_path_converter/main.c
@@ -11,6 +11,8 @@
static void on_driver_unload(DRIVER_OBJECT *driver_object)
{
+ UNREFERENCED_PARAMETER(driver_object);
+
destroy_devices();
}
@@ -18,6 +20,8 @@ NTSTATUS DriverEntry(
DRIVER_OBJECT *driver_object,
UNICODE_STRING *registry_path)
{
+ UNREFERENCED_PARAMETER(registry_path);
+
driver_object->DriverUnload = on_driver_unload;
return set_up_devices(driver_object);
}