Fix build with -Werror=unused-variable
This commit is contained in:
parent
c68a7ba5f6
commit
a388c2d891
1 changed files with 0 additions and 2 deletions
|
@ -678,8 +678,6 @@ void listbox::layout_children(const bool force)
|
|||
assert(content_grid());
|
||||
|
||||
if(need_layout_ || force) {
|
||||
const int selected_item = generator_->get_selected_item();
|
||||
|
||||
content_grid()->place(content_grid()->get_origin(), content_grid()->get_size());
|
||||
|
||||
const SDL_Rect& visible = content_visible_area_;
|
||||
|
|
Loading…
Add table
Reference in a new issue