diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-01 17:23:51 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-01 17:23:51 (EDT) |
commit | 782cec9ec57aa733c37179417213eec35bb4eb0f (patch) | |
tree | 6da652282e6b5f78ba29e400d7c382d2ad1278b8 /src | |
parent | 028f94c307595c425b9f0d0c142154fb12d7a2fc (diff) | |
download | marquee-782cec9ec57aa733c37179417213eec35bb4eb0f.zip marquee-782cec9ec57aa733c37179417213eec35bb4eb0f.tar.gz marquee-782cec9ec57aa733c37179417213eec35bb4eb0f.tar.bz2 |
mq_settings_connect_config(): Add default case to switch
Fixes:
CC src/config/marquee-settings.o
src/config/settings.c: In function ‘mq_settings_connect_config’:
src/config/settings.c:365:3: warning: switch missing default case [-Wswitch-default]
switch (mappings[i].type) {
^
Diffstat (limited to 'src')
-rw-r--r-- | src/config/settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/settings.c b/src/config/settings.c index a271613..42ba527 100644 --- a/src/config/settings.c +++ b/src/config/settings.c @@ -403,6 +403,9 @@ mq_settings_connect_config(MqSettings *settings, MqConfig *config) mappings[i].mq_name), settings); break; + default: + g_assert_not_reached(); + break; } } |