]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix uninitialized variable in bat
authorKern Sibbald <kern@sibbald.com>
Thu, 24 Feb 2011 12:12:02 +0000 (13:12 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:43:27 +0000 (14:43 +0200)
bacula/src/qt-console/mainwin.cpp

index 6984b03a35bcd2123ad3eb62f5d989fb7a0a1875..eeaf966dfaa48531105a9c345ba56c9f0fc175ec 100644 (file)
@@ -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);