diff --git a/src/ui/QGCUASFileView.cc b/src/ui/QGCUASFileView.cc index a9ac957363f162fdd1102bb19922451160b3bfcc..cf5fc678d7d890a00bd4e3695818b646123b966a 100644 --- a/src/ui/QGCUASFileView.cc +++ b/src/ui/QGCUASFileView.cc @@ -106,6 +106,7 @@ void QGCUASFileView::_treeStatusMessage(const QString& msg) } } else { Q_ASSERT(false); + return; // Silence maybe-unitialized on type below } QTreeWidgetItem* item;