lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 11d1722 3/3: Undo recent voodoo workaround


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 11d1722 3/3: Undo recent voodoo workaround
Date: Tue, 27 Mar 2018 19:19:44 -0400 (EDT)

branch: master
commit 11d17229742d4a7cad635521a2b49728cfc2dcce
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Undo recent voodoo workaround
    
    Reverted the changes commit 3d3e2b679 made to this unit-test file.
    The immediately-preceding commit made that workaround unnecessary.
---
 bourn_cast_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bourn_cast_test.cpp b/bourn_cast_test.cpp
index 96687e6..ed360bb 100644
--- a/bourn_cast_test.cpp
+++ b/bourn_cast_test.cpp
@@ -653,7 +653,7 @@ void mete_static()
         {
         z = static_cast<To>(j);
         }
-    (void)&z;
+    stifle_warning_for_unused_variable(z);
 }
 
 /// Speed test: convert one million times, using bourn_cast.
@@ -670,7 +670,7 @@ void mete_bourn()
         {
         z = bourn_cast<To>(j);
         }
-    (void)&z;
+    stifle_warning_for_unused_variable(z);
 }
 
 void assay_speed()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]