Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mumble/GlobalShortcut_macx.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mumble/GlobalShortcut_macx.mm b/src/mumble/GlobalShortcut_macx.mm
index 6df63e25c..9f4d9807e 100644
--- a/src/mumble/GlobalShortcut_macx.mm
+++ b/src/mumble/GlobalShortcut_macx.mm
@@ -119,6 +119,9 @@ CGEventRef GlobalShortcutMac::callback(CGEventTapProxy proxy, CGEventType type,
[pool release];
return nullptr;
}
+#else
+ // Mark forward as unused in this case
+ (void) forward;
#endif
return suppress ? nullptr : event;
}