X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4afa6df339eadbe09440b8c190cc6231f076dd65..d447f7531d54c3c2b9d348482c324357602eb6d7:/src/mac/corefoundation/hidjoystick.cpp?ds=sidebyside diff --git a/src/mac/corefoundation/hidjoystick.cpp b/src/mac/corefoundation/hidjoystick.cpp index 12d5b86ba9..a14444989e 100644 --- a/src/mac/corefoundation/hidjoystick.cpp +++ b/src/mac/corefoundation/hidjoystick.cpp @@ -480,7 +480,7 @@ int wxJoystick::GetMovementThreshold() const return 0; } -void wxJoystick::SetMovementThreshold(int threshold) +void wxJoystick::SetMovementThreshold(int WXUNUSED(threshold)) { } @@ -795,8 +795,10 @@ void* wxJoystickThread::Entry() // 5) Sends the event to the polling window (if any) // 6) Gets the next event and goes back to (1) //--------------------------------------------------------------------------- -/*static*/ void wxJoystickThread::HIDCallback(void* target, IOReturn res, - void* context, void* sender) +/*static*/ void wxJoystickThread::HIDCallback(void* WXUNUSED(target), + IOReturn WXUNUSED(res), + void* context, + void* WXUNUSED(sender)) { IOHIDEventStruct hidevent; AbsoluteTime bogustime = {0,0};