From 0c23e83e80a9b9e39158f59c329f30a8c0375cd2 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 30 Dec 2014 09:32:13 -0800 Subject: [PATCH] Fix compiler warning --- src/ui/MainWindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index dc50d0ea1..3ba4b9a46 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -1269,7 +1269,7 @@ void MainWindow::_storeCurrentViewState(void) /// Restores the state of the toolbar, status bar and widgets associated with the current view void MainWindow::_loadCurrentViewState(void) { - QWidget* centerView; + QWidget* centerView = NULL; QString defaultWidgets; switch (_currentView) { -- 2.22.0