diff host/tools/configtool/standalone/wxwin/configtree.cpp @ 3358:f9b94a5b13ac

* infra/trace.cxx, libcdl/build.cxx, libcdl/expr.cxx, tools/Utils/common/eCosStd.h, tools/ecostest/common/eCosTest.cpp, tools/configtool/standalone/wxwin/admindlg.cpp, tools/configtool/standalone/wxwin/configtooldoc.cpp, tools/configtool/standalone/wxwin/configtree.cpp: Silence "set but unused" variable warnings with recent GCC. [ Bugzilla 1001949 ] * standalone/common/ecosconfig.cxx: Update copyright string.
author jld
date Thu, 13 Mar 2014 15:03:41 +0000
parents e14d4c233d66
children b340d0ab5dd3
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/configtree.cpp
+++ b/host/tools/configtool/standalone/wxwin/configtree.cpp
@@ -1,7 +1,7 @@
 // ####ECOSHOSTGPLCOPYRIGHTBEGIN####                                        
 // -------------------------------------------                              
 // This file is part of the eCos host tools.                                
-// Copyright (C) 1998, 1999, 2000, 2008, 2009 Free Software Foundation, Inc.      
+// Copyright (C) 1998, 1999, 2000, 2008, 2009, 2014 Free Software Foundation, Inc.      
 //
 // This program is free software; you can redistribute it and/or modify     
 // it under the terms of the GNU General Public License as published by     
@@ -717,6 +717,7 @@ void ecSplitterScrolledWindow::OnPropert
         // or not
         menu = (wxMenu*) obj;
     }
+    CYG_UNUSED_PARAM(wxMenu *, menu);
 
     ecConfigTreeCtrl* treeCtrl = (ecConfigTreeCtrl*) FindWindow(ecID_TREE_CTRL);
     wxASSERT (treeCtrl != NULL) ;