From: Kern Sibbald Date: Thu, 24 Feb 2011 12:12:02 +0000 (+0100) Subject: Fix uninitialized variable in bat X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee2ee805fb5cee1b20717a39ffd61c1aa8e7e0d9;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);