From ee2ee805fb5cee1b20717a39ffd61c1aa8e7e0d9 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 24 Feb 2011 13:12:02 +0100 Subject: [PATCH] Fix uninitialized variable in bat --- bacula/src/qt-console/mainwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/qt-console/mainwin.cpp b/bacula/src/qt-console/mainwin.cpp index 6984b03a35..eeaf966dfa 100644 --- a/bacula/src/qt-console/mainwin.cpp +++ b/bacula/src/qt-console/mainwin.cpp @@ -778,7 +778,7 @@ void MainWin::closeCurrentPage() void MainWin::closePage(int item) { QTreeWidgetItem *currentitem; - Pages *page; + Pages *page = NULL; if (item >= 0) { page = (Pages *)tabWidget->widget(item); -- 2.39.5