Fix unused variable warning on Xcode 14.3
This commit is contained in:
parent
5c3bdd9e07
commit
b567b4286c
1 changed files with 0 additions and 3 deletions
|
@ -580,14 +580,11 @@ point table::calculate_best_size() const
|
|||
);
|
||||
|
||||
int row_max_width = row_min_width + max_xtra;
|
||||
int row = 0;
|
||||
|
||||
point row_size, total_size;
|
||||
|
||||
for(std::size_t n = 0; n < item_sizes.size(); n++) {
|
||||
if(row_size.x + item_sizes[n].x > row_max_width) {
|
||||
// Start new row
|
||||
row++;
|
||||
|
||||
total_size.y += row_size.y;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue