mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
LibWeb: Cast unused smart-pointer return values to void
This commit is contained in:
parent
31ea222f97
commit
7196570f9b
10 changed files with 116 additions and 116 deletions
|
@ -398,7 +398,7 @@ void BlockFormattingContext::layout_block_level_children(BlockContainer& block_c
|
|||
}
|
||||
|
||||
compute_width(child_box);
|
||||
layout_inside(child_box, layout_mode);
|
||||
(void)layout_inside(child_box, layout_mode);
|
||||
compute_height(child_box);
|
||||
|
||||
if (child_box.computed_values().position() == CSS::Position::Relative)
|
||||
|
@ -576,7 +576,7 @@ void BlockFormattingContext::layout_floating_child(Box& box, BlockContainer cons
|
|||
VERIFY(box.is_floating());
|
||||
|
||||
compute_width(box);
|
||||
layout_inside(box, LayoutMode::Default);
|
||||
(void)layout_inside(box, LayoutMode::Default);
|
||||
compute_height(box);
|
||||
|
||||
// First we place the box normally (to get the right y coordinate.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue