[asterisk-scf-commits] asterisk-scf/release/logger.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Apr 22 15:33:49 CDT 2011


branch "master" has been updated
       via  14a960b9f78176b4722faa589cb7687718ba1c74 (commit)
      from  fa95cc2a32a973556640d845f407854ae0e386e3 (commit)

Summary of changes:
 server/test/ConfigurationTest.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 14a960b9f78176b4722faa589cb7687718ba1c74
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Fri Apr 22 15:33:26 2011 -0500

    Eliminate some unused variable warnings.

diff --git a/server/test/ConfigurationTest.cpp b/server/test/ConfigurationTest.cpp
index fd11742..48bb562 100644
--- a/server/test/ConfigurationTest.cpp
+++ b/server/test/ConfigurationTest.cpp
@@ -156,7 +156,7 @@ BOOST_AUTO_TEST_CASE(SetAndRemoveFile)
     {
         TestBed.confHelper->setLogOutFile(fileName, serial++);
     }
-    catch (const SerialConflict &sc)
+    catch (const SerialConflict&)
     {
         BOOST_FAIL("SerialConflict thrown when setting output file");
     }
@@ -182,7 +182,7 @@ BOOST_AUTO_TEST_CASE(FileReplacement)
         status = checkConfiguredFile(TestBed.confHelper, fileName2);
         BOOST_CHECK(status == CORRECT);
     }
-    catch (const SerialConflict &sc)
+    catch (const SerialConflict&)
     {
         BOOST_FAIL("SerialConflict thrown when setting output file");
     }
@@ -207,7 +207,7 @@ BOOST_AUTO_TEST_CASE(PurposefulSerialConflict)
     {
         TestBed.confHelper->setLogOutFile(fileName1, serial--);
     }
-    catch (const SerialConflict &ex)
+    catch (const SerialConflict&)
     {
         BOOST_FAIL("SerialConflict thrown when setting output file");
     }
@@ -218,7 +218,7 @@ BOOST_AUTO_TEST_CASE(PurposefulSerialConflict)
     {
         TestBed.confHelper->setLogOutFile(fileName2, serial++);
     }
-    catch (const SerialConflict &ex)
+    catch (const SerialConflict&)
     {
         exceptionHit = true;
     }

-----------------------------------------------------------------------


-- 
asterisk-scf/release/logger.git



More information about the asterisk-scf-commits mailing list