summaryrefslogtreecommitdiffstats
path: root/core/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-29 01:03:36 +0200
committerwm4 <wm4@nowhere>2013-07-29 01:03:36 +0200
commit5f9aa74279a165fc34f33bad52b69b2aaba5a681 (patch)
tree4ab37b5d134651da6b24602d5847570bcecadfc4 /core/command.c
parentfece4e3053b7be7b5d736a9609bb2b1b8deef4bd (diff)
downloadmpv-5f9aa74279a165fc34f33bad52b69b2aaba5a681.tar.bz2
mpv-5f9aa74279a165fc34f33bad52b69b2aaba5a681.tar.xz
command: silence a warning
This is unreachable code, but the compiler doesn't always determine this. This change shuts up the warning in these cases.
Diffstat (limited to 'core/command.c')
-rw-r--r--core/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/command.c b/core/command.c
index 7445ab06d7..05f361be31 100644
--- a/core/command.c
+++ b/core/command.c
@@ -2000,6 +2000,8 @@ static void change_filters(MPContext *mpctx, enum stream_type mediatype,
option = "af";
list = &opts->af_settings;
break;
+ default:
+ abort();
}
// The option parser is used to modify the filter list itself.