From e39514721e48b5f5d39ce06a6afa5ef82676b2ba Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Tue, 12 Jul 2022 18:11:21 +0300 Subject: [PATCH] LibWeb: Add missing break to avoid fallthrough in FlexFormattingContext This silences a Clang warning. --- Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp index 62536c2da7..eeaf78ad5c 100644 --- a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp @@ -1253,6 +1253,7 @@ void FlexFormattingContext::align_all_flex_items_along_the_cross_axis() break; case CSS::AlignItems::Center: flex_item->cross_offset = 0 - (flex_item->cross_size / 2.0f); + break; default: break; }