]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
two-step: add unhandled splash mode case to switch
authorRay Strode <rstrode@redhat.com>
Tue, 10 Jul 2018 20:00:18 +0000 (16:00 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 10 Jul 2018 20:00:18 +0000 (16:00 -0400)
This fixes a compiler warning.

src/plugins/splash/two-step/plugin.c

index 31256b7e61a7131fb7a08571b401ab4b9fd920fb..7ae991037b75db39d62ef378eb47b617eb6d67bb 100644 (file)
@@ -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;