From: Nicolas Boichat Date: Fri, 16 Apr 2004 17:08:44 +0000 (+0000) Subject: Removed unused local variables. X-Git-Tag: Release-1.34.1~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c7b9b0b4f60b758c4e3096bd6f8ef21865303e72;p=bacula%2Fbacula Removed unused local variables. Undefined Yield (MinGW compatibility). git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1215 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/wx-console/wxbrestorepanel.cpp b/bacula/src/wx-console/wxbrestorepanel.cpp index a2268ea366..29099eb208 100644 --- a/bacula/src/wx-console/wxbrestorepanel.cpp +++ b/bacula/src/wx-console/wxbrestorepanel.cpp @@ -29,6 +29,9 @@ #include "marked.xpm" #include "partmarked.xpm" +/* A macro named Yield is defined under MinGW */ +#undef Yield + /* * Class which is stored in the tree and in the list to keep informations * about the element. @@ -707,9 +710,6 @@ void wxbRestorePanel::SetTreeItemState(wxTreeItemId item, int newstate) { long cookie; wxTreeItemId currentChild = tree->GetFirstChild(item, cookie); - bool onechildmarked = false; - bool onechildunmarked = false; - wxbTreeItemData* itemdata; while (currentChild.IsOk()) {