[tor-commits] [tor/master] Mark an abort() as unreachable.

nickm at torproject.org nickm at torproject.org
Thu Jun 16 19:53:09 UTC 2016


commit a8c766220f1c1d60c7ccb2a1f888423145495942
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jun 16 15:53:05 2016 -0400

    Mark an abort() as unreachable.
---
 src/common/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/util.c b/src/common/util.c
index a80d96a..2f7cc4f 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -3795,7 +3795,7 @@ format_number_sigsafe(unsigned long x, char *buf, int buf_len,
 
   /* NOT tor_assert; see above. */
   if (cp != buf) {
-    abort();
+    abort(); // LCOV_EXCL_LINE
   }
 
   return len;



More information about the tor-commits mailing list