From 1fcba1aa3b1a686dbe87d7fccfa18e0022b4dc4b Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Fri, 7 Oct 2011 07:06:01 +0000 Subject: [PATCH] Added 4 void declaration lines to remove compiler warning. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1141 7ec92016-0320-0410-acc4-a06ded1c099a --- test/SafeFormat/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/SafeFormat/main.cpp b/test/SafeFormat/main.cpp index e31efb9..dd39244 100644 --- a/test/SafeFormat/main.cpp +++ b/test/SafeFormat/main.cpp @@ -213,6 +213,7 @@ void FormatTest( void ) } catch ( const ::std::logic_error & ex ) { + (void)ex; assert( true ); } result.clear(); @@ -225,6 +226,7 @@ void FormatTest( void ) } catch ( const ::std::logic_error & ex ) { + (void)ex; assert( true ); } result.clear(); @@ -237,6 +239,7 @@ void FormatTest( void ) } catch ( const ::std::logic_error & ex ) { + (void)ex; assert( true ); } result.clear(); @@ -249,6 +252,7 @@ void FormatTest( void ) } catch ( const ::std::logic_error & ex ) { + (void)ex; assert( true ); } result.clear();