Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / drivers / filters / mountmgr / notify.c
index 95cc716..4e148f2 100644 (file)
@@ -511,6 +511,8 @@ UniqueIdChangeNotifyWorker(IN PDEVICE_OBJECT DeviceObject,
     PMOUNTDEV_UNIQUE_ID OldUniqueId, NewUniqueId;
     PMOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT UniqueIdChange;
 
+    UNREFERENCED_PARAMETER(DeviceObject);
+
     /* Validate worker */
     if (!NT_SUCCESS(WorkItem->Irp->IoStatus.Status))
     {
@@ -567,6 +569,9 @@ UniqueIdChangeNotifyCompletion(IN PDEVICE_OBJECT DeviceObject,
 {
     PUNIQUE_ID_WORK_ITEM WorkItem = Context;
 
+    UNREFERENCED_PARAMETER(DeviceObject);
+    UNREFERENCED_PARAMETER(Irp);
+
     /* Simply queue the work item */
     IoQueueWorkItem(WorkItem->WorkItem,
                     UniqueIdChangeNotifyWorker,