From: Ray Strode Date: Tue, 10 Jul 2018 20:00:18 +0000 (-0400) Subject: two-step: add unhandled splash mode case to switch X-Git-Tag: 0.9.4~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f151b22e6207ca4026e5c62d68fe5a32cbc0927f;p=thirdparty%2Fplymouth.git two-step: add unhandled splash mode case to switch This fixes a compiler warning. --- diff --git a/src/plugins/splash/two-step/plugin.c b/src/plugins/splash/two-step/plugin.c index 31256b7e..7ae99103 100644 --- a/src/plugins/splash/two-step/plugin.c +++ b/src/plugins/splash/two-step/plugin.c @@ -205,6 +205,7 @@ view_load_end_animation (view_t *view) case PLY_BOOT_SPLASH_MODE_SHUTDOWN: animation_prefix = "shutdown-animation-"; break; + case PLY_BOOT_SPLASH_MODE_INVALID: default: ply_trace ("unexpected splash mode 0x%x\n", plugin->mode); return;