diff --git a/src/kits/interface/ColumnListView.cpp b/src/kits/interface/ColumnListView.cpp index a339130a50..a2faf1a7d7 100644 --- a/src/kits/interface/ColumnListView.cpp +++ b/src/kits/interface/ColumnListView.cpp @@ -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.