From 255b676a4f3bdb103ce9b2151d944dabfd2e49e8 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 a885ab52f..adbf6f91f 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -1272,7 +1272,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