From: Kern Sibbald Date: Thu, 24 Feb 2011 12:12:02 +0000 (+0100) Subject: Fix uninitialized variable in bat X-Git-Tag: Release-7.0.0~1103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d2ad675b71e4d1233f3b4f0a2ea4191ac6dc3ed;p=bacula%2Fbacula Fix uninitialized variable in bat --- 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);