From 84c0fda89190f951f9948b7f8089ffaef78b96fb Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Wed, 27 Jul 2011 13:47:51 +0000 Subject: [PATCH] avoid "control reaches end of non-void function" --- .../widgets/creaButtonContainer/model/buttonGroupFactory.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/buttonGroupFactory.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/buttonGroupFactory.cxx index f596414..57cbf9b 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/buttonGroupFactory.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/buttonGroupFactory.cxx @@ -61,7 +61,7 @@ namespace creaButtonContainer long id = wxNewId( ); buttonList[ id ] = new Button( parent, id, *it ); }//rof - return ( buttonList ); + //return ( buttonList ); // JPR }//yrt catch ( const std::exception& e ) { @@ -69,6 +69,7 @@ namespace creaButtonContainer << "ButtonGroupFactory::GetButtons( wxWindow* parent, ButtonList buttonModel )" << "exception: " << e.what( ) << std::endl; }//chtac + return ( buttonList ); // JPR } // ---------------------------------------------------------------------------------- }//ecapseman -- 2.47.1