From 607edddd1f938ac2fe67e081f570e9bc84f0d839 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Wed, 27 Jul 2011 13:50:38 +0000 Subject: [PATCH] avoid "warning: control reaches end of non-void function " --- .../wxWindows/widgets/creaButtonContainer/view/buttonGroup.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonGroup.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonGroup.cxx index 0738e60..6dfeaa8 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonGroup.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonGroup.cxx @@ -60,13 +60,14 @@ namespace creaButtonContainer { try { - return ( this->m_Buttons[ id ] ); + //return ( this->m_Buttons[ id ] ); // JPR }//yrt catch ( std::exception& e ) { std::cerr << "ButtonGroup::GetButton( long id )" << "exception: " << e.what( ) << std::endl; }//hctac + return ( this->m_Buttons[ id ] );// JPR } // ---------------------------------------------------------------------------------- }//ecapseman -- 2.47.1