1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +00:00

WindowServer: Don't reach the end of mode_to_enum() without returning.

This commit is contained in:
Andreas Kling 2019-06-01 20:02:05 +02:00
parent 2dd9ef6863
commit 8d7fbbe1fb

View file

@ -26,6 +26,7 @@ WallpaperMode mode_to_enum(const String& name)
return WallpaperMode::Center; return WallpaperMode::Center;
if (name == "scaled") if (name == "scaled")
return WallpaperMode::Scaled; return WallpaperMode::Scaled;
return WallpaperMode::Simple;
} }
WSCompositor::WSCompositor() WSCompositor::WSCompositor()