1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

Libraries: Fix -Wunreachable-code warnings from clang

This commit is contained in:
Nico Weber 2021-10-08 08:34:12 -04:00 committed by Andreas Kling
parent 96666f3209
commit b8dc3661ac
10 changed files with 7 additions and 27 deletions

View file

@ -61,7 +61,7 @@ void TextNode::paint_text_decoration(Gfx::Painter& painter, LineBoxFragment cons
line_start_point = fragment_box.top_left().translated(0, baseline - x_height / 2);
line_end_point = fragment_box.top_right().translated(0, baseline - x_height / 2);
break;
} break;
}
case CSS::TextDecorationLine::Blink:
// Conforming user agents may simply not blink the text
return;