From 5f9aa74279a165fc34f33bad52b69b2aaba5a681 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 29 Jul 2013 01:03:36 +0200 Subject: 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. --- core/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') 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. -- cgit v1.2.3