BColumnListView: Add initializations to silence -Wmaybe-uninitialized.

This commit is contained in:
Augustin Cavalier 2021-11-16 19:05:52 -05:00
parent d1035d48e6
commit e7952d44d5

View File

@ -4222,8 +4222,8 @@ OutlineView::RemoveRow(BRow* row)
if (row == NULL)
return;
BRow* parentRow;
bool parentIsVisible;
BRow* parentRow = NULL;
bool parentIsVisible = false;
FindParent(row, &parentRow, &parentIsVisible);
// NOTE: This could be a root row without a parent, in which case
// it is always visible, though.