Browse Source

LibWeb: Fix non return in overflow value check

Cameron Youell 2 years ago
parent
commit
f251ff0521
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Userland/Libraries/LibWeb/Layout/Box.cpp

+ 1 - 0
Userland/Libraries/LibWeb/Layout/Box.cpp

@@ -41,6 +41,7 @@ bool overflow_value_makes_box_a_scroll_container(CSS::Overflow overflow)
     case CSS::Overflow::Scroll:
         return true;
     }
+    VERIFY_NOT_REACHED();
 }
 
 // https://www.w3.org/TR/css-overflow-3/#scroll-container