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
|
@ -76,9 +76,9 @@ void TableFormattingContext::calculate_column_widths(Box& row, Vector<float>& co
|
|||
row.for_each_child_of_type<TableCellBox>([&](auto& cell) {
|
||||
compute_width(cell);
|
||||
if (use_auto_layout) {
|
||||
layout_inside(cell, LayoutMode::OnlyRequiredLineBreaks);
|
||||
(void)layout_inside(cell, LayoutMode::OnlyRequiredLineBreaks);
|
||||
} else {
|
||||
layout_inside(cell, LayoutMode::Default);
|
||||
(void)layout_inside(cell, LayoutMode::Default);
|
||||
}
|
||||
column_widths[column_index] = max(column_widths[column_index], cell.width());
|
||||
column_index += cell.colspan();
|
||||
|
@ -98,9 +98,9 @@ void TableFormattingContext::layout_row(Box& row, Vector<float>& column_widths)
|
|||
|
||||
// Layout the cell contents a second time, now that we know its final width.
|
||||
if (use_auto_layout) {
|
||||
layout_inside(cell, LayoutMode::OnlyRequiredLineBreaks);
|
||||
(void)layout_inside(cell, LayoutMode::OnlyRequiredLineBreaks);
|
||||
} else {
|
||||
layout_inside(cell, LayoutMode::Default);
|
||||
(void)layout_inside(cell, LayoutMode::Default);
|
||||
}
|
||||
|
||||
size_t cell_colspan = cell.colspan();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue