diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-23 11:20:50 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-11-24 10:05:09 +0100 |
commit | ab8cc64b195559caf22710d73f4fb4c82702b2f4 (patch) | |
tree | 5f29a83a72ec585d9d59c279661402fccb857dd1 /osdep | |
parent | f84024b9dd9e0fff4239ee2a78d98dddb8ae0c73 (diff) | |
download | mpv-ab8cc64b195559caf22710d73f4fb4c82702b2f4.tar.bz2 mpv-ab8cc64b195559caf22710d73f4fb4c82702b2f4.tar.xz |
osdep/macosx: add default switch cases to suppress Wswitch
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/macosx_events.m | 2 | ||||
-rw-r--r-- | osdep/macosx_touchbar.m | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m index 627077aac1..33ea265797 100644 --- a/osdep/macosx_events.m +++ b/osdep/macosx_events.m @@ -292,6 +292,8 @@ void cocoa_set_mpv_handle(struct mpv_handle *ctx) _ctx = nil; break; } + default: + break; } } diff --git a/osdep/macosx_touchbar.m b/osdep/macosx_touchbar.m index ccce8f773d..d70324bd1c 100644 --- a/osdep/macosx_touchbar.m +++ b/osdep/macosx_touchbar.m @@ -307,6 +307,8 @@ [self handlePropertyChange:(mpv_event_property *)event->data]; break; } + default: + break; } } |