From 238220b3a19510987be485d0eb91dcadcba9dfe9 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 6 Jul 2014 12:07:56 -0700 Subject: [PATCH] Silence maybe_uninitialized --- src/ui/QGCUASFileView.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/QGCUASFileView.cc b/src/ui/QGCUASFileView.cc index a9ac95736..cf5fc678d 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; -- 2.22.0