[tor-commits] [tor/master] Remove an extraneous _ from __COVERITY__

asn at torproject.org asn at torproject.org
Thu Apr 18 10:23:55 UTC 2019


commit 48a574604bef9a4fe77d9bb43dfbfc50328e13e0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Apr 11 18:56:02 2019 -0400

    Remove an extraneous _ from __COVERITY__
    
    We had a typo in this check, so that coverity wasn't taking the
    right path.
    
    Bug not in any released Tor.
---
 src/lib/math/prob_distr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/math/prob_distr.h b/src/lib/math/prob_distr.h
index 2eb935e4a..8fccf8d01 100644
--- a/src/lib/math/prob_distr.h
+++ b/src/lib/math/prob_distr.h
@@ -53,7 +53,7 @@ struct dist {
  *  We define this conditionally to suppress false positives from
  *  Coverity, which gets confused by the sizeof business.
  */
-#ifdef __COVERITY___
+#ifdef __COVERITY__
 #define TYPE_CHECK_OBJ(OPS, OBJ, TYPE) 0
 #else
 #define TYPE_CHECK_OBJ(OPS, OBJ, TYPE) \





More information about the tor-commits mailing list