Fix some unused variable warnings on macOS.
[dcpomatic.git] / src / tools / dcpomatic_disk_writer.cc
index 1e6d10fbf24af275eb5d2db0269ef9f5d93f8ae7..2c3753e57e9c318bae90ee9670859294cee1483c 100644 (file)
@@ -569,7 +569,7 @@ main ()
        /* I *think* this confumes the notifyd event that we used to start the process, so we only
         * get started once per notification.
         */
-        xpc_set_event_stream_handler("com.apple.notifyd.matching", DISPATCH_TARGET_QUEUE_DEFAULT, ^(xpc_object_t event) {});
+        xpc_set_event_stream_handler("com.apple.notifyd.matching", DISPATCH_TARGET_QUEUE_DEFAULT, ^(xpc_object_t) {});
 #endif
 
        try {