From 2d2ad675b71e4d1233f3b4f0a2ea4191ac6dc3ed 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