[PATCH] winemac: Add default case in isMouseMoveEventType.
13 May
2020
13 May
'20
3:27 p.m.
Signed-off-by: Gijs Vermeulen <gijsvrm(a)gmail.com> --- This fixes a Clang warning. dlls/winemac.drv/cocoa_app.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winemac.drv/cocoa_app.m b/dlls/winemac.drv/cocoa_app.m index 87a73b6da9..8e66721da1 100644 --- a/dlls/winemac.drv/cocoa_app.m +++ b/dlls/winemac.drv/cocoa_app.m @@ -1229,9 +1229,9 @@ - (BOOL) isMouseMoveEventType:(CGEventType)type case kCGEventRightMouseDragged: case kCGEventOtherMouseDragged: return TRUE; + default: + return FALSE; } - - return FALSE; } - (int) warpsFinishedByEventTime:(CGEventTimestamp)eventTime location:(CGPoint)eventLocation -- 2.26.2
2047
Age (days ago)
2047
Last active (days ago)
1 comments
2 participants
participants (2)
-
Gijs Vermeulen -
Ken Thomases