aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/nt_path_converter/main.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-04-26 18:42:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-04-26 18:42:37 +0300
commit85e289ebf0e37f2233050ea3b975b83fcce83c0a (patch)
treeccaab7582fe64312b443dcd795df6839b23b109d /src/nt_path_converter/main.c
parentfix licensing notices (diff)
downloadwindows7-drivers-85e289ebf0e37f2233050ea3b975b83fcce83c0a.tar.gz
windows7-drivers-85e289ebf0e37f2233050ea3b975b83fcce83c0a.zip
fix compiler warnings
Diffstat (limited to '')
-rw-r--r--src/nt_path_converter/main.c4
1 files changed, 4 insertions, 0 deletions
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);
}