[tor-commits] [tor/release-0.3.3] Fix an LCOV exclusion pattern in address.c

nickm at torproject.org nickm at torproject.org
Mon Apr 16 17:48:55 UTC 2018


commit 0e13ff48155ca8cda7483afe730652bed61ba5a0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Apr 16 13:48:21 2018 -0400

    Fix an LCOV exclusion pattern in address.c
---
 src/common/address.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/address.c b/src/common/address.c
index 68ad63941..96b99fa08 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -1199,7 +1199,7 @@ tor_addr_hash(const tor_addr_t *addr)
     /* LCOV_EXCL_START */
     tor_fragile_assert();
     return 0;
-    /* LCOV_EXCL_END */
+    /* LCOV_EXCL_STOP */
   }
 }
 
@@ -1221,7 +1221,7 @@ tor_addr_keyed_hash(const struct sipkey *key, const tor_addr_t *addr)
     /* LCOV_EXCL_START */
     tor_fragile_assert();
     return 0;
-    /* LCOV_EXCL_END */
+    /* LCOV_EXCL_STOP */
   }
 }
 





More information about the tor-commits mailing list