From f151b22e6207ca4026e5c62d68fe5a32cbc0927f Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 10 Jul 2018 16:00:18 -0400 Subject: [PATCH] two-step: add unhandled splash mode case to switch This fixes a compiler warning. --- src/plugins/splash/two-step/plugin.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.3