aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/test/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/main.c b/src/test/main.c
index 22600ee..b3d2b58 100644
--- a/src/test/main.c
+++ b/src/test/main.c
@@ -9,8 +9,10 @@
#include <ntddk.h>
-VOID on_driver_unload(DRIVER_OBJECT *driver_object)
+static void on_driver_unload(DRIVER_OBJECT *driver_object)
{
+ UNREFERENCED_PARAMETER(driver_object);
+
DbgPrint("Unloading test driver...\n");
destroy_devices();
}
@@ -19,6 +21,8 @@ NTSTATUS DriverEntry(
DRIVER_OBJECT *driver_object,
UNICODE_STRING *registry_path)
{
+ UNREFERENCED_PARAMETER(registry_path);
+
DbgPrint("Loading test driver...\n");
driver_object->DriverUnload = on_driver_unload;
return set_up_devices(driver_object);