gui2: Initialize variables

Found by cppcheck.
This commit is contained in:
Ignacio R. Morelle 2015-07-06 22:12:46 -03:00
parent c534c6156f
commit 9542600413

View file

@ -179,7 +179,7 @@ void tlist::set_row_shown(const unsigned row, const bool shown)
const int selected_row = get_selected_row();
bool resize_needed;
bool resize_needed = false;
{
twindow::tinvalidate_layout_blocker invalidate_layout_blocker(*window);
@ -211,7 +211,7 @@ void tlist::set_row_shown(const std::vector<bool>& shown)
const int selected_row = get_selected_row();
bool resize_needed;
bool resize_needed = false;
{
twindow::tinvalidate_layout_blocker invalidate_layout_blocker(*window);