Clean up warnings from exception handlers

The exception objects caught are either not referenced at all, or only in
debug builds. This avoids the warnings for the unused variables.
This commit is contained in:
Simon Richter
2016-10-10 11:08:49 -04:00
committed by Wayne Stambaugh
parent 6d27087053
commit b0f9864bc4
18 changed files with 29 additions and 29 deletions
+4 -4
View File
@@ -2381,7 +2381,7 @@ void IDF3_BOARD::readBoardFile( const std::string& aFileName, bool aNoSubstitute
}
}
}
catch( const std::exception& e )
catch( const std::exception& )
{
brd.exceptions ( std::ios_base::goodbit );
@@ -2699,7 +2699,7 @@ void IDF3_BOARD::readLibFile( const std::string& aFileName )
while( lib.good() ) readLibSection( lib, state, this );
}
catch( const std::exception& e )
catch( const std::exception& )
{
lib.exceptions ( std::ios_base::goodbit );
@@ -2853,7 +2853,7 @@ bool IDF3_BOARD::writeLibFile( const std::string& aFileName )
}
}
catch( const std::exception& e )
catch( const std::exception& )
{
lib.exceptions( std::ios_base::goodbit );
@@ -3120,7 +3120,7 @@ void IDF3_BOARD::writeBoardFile( const std::string& aFileName )
}
}
catch( const std::exception& e )
catch( const std::exception& )
{
brd.exceptions( std::ios_base::goodbit );