- Make ROS buildable with GCC 4.1
[reactos.git] / reactos / ntoskrnl / fs / notify.c
index 05cbc27..f927cc9 100644 (file)
@@ -488,7 +488,7 @@ FsRtlNotifyFullChangeDirectory (
       /* save NotifySych for use in the cancel routine */
       Irp->Tail.Overlay.DriverContext[3] = NotifySync;
 
-      IoSetCancelRoutine(Irp, FsRtlpNotifyCancelRoutine);
+      (void)IoSetCancelRoutine(Irp, FsRtlpNotifyCancelRoutine);
       if (Irp->Cancel && IoSetCancelRoutine(Irp, NULL))
       {
          //irp was canceled