lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 6997835b 1/2: Fix defect introduced 20210714T


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 6997835b 1/2: Fix defect introduced 20210714T0026Z: dangling comment
Date: Fri, 3 Jun 2022 17:14:18 -0400 (EDT)

branch: master
commit 6997835bcfb9a184d50b12d93e57fa21e2aab8ab
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Fix defect introduced 20210714T0026Z: dangling comment
    
    Commit 4fd17aacd46be of 20210714T0026Z removed some code, but not
    the comment that pertained only to the removed lines. That comment
    no longer made any sense: the "left-hand side" of the next line of
    code is "true", with no cast.
---
 tn_range_test.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tn_range_test.cpp b/tn_range_test.cpp
index 531b879e..10eeeb7e 100644
--- a/tn_range_test.cpp
+++ b/tn_range_test.cpp
@@ -148,10 +148,6 @@ void tn_range_test::test_auxiliary_functions(char const* 
file, int line)
 
     if(minT < 0)
         {
-        // The left-hand side is cast to T to avoid gcc 'bool-compare'
-        // diagnostics. An 'is_bool' conditional wouldn't prevent the
-        // macros from being expanded. See:
-        //   https://lists.nongnu.org/archive/html/lmi/2017-05/msg00029.html
         INVOKE_LMI_TEST_EQUAL(true , is_exact_integer(T(-1)), file, line);
         }
 



reply via email to

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