Explorar o código

Mark an abort() as unreachable.

Nick Mathewson %!s(int64=8) %!d(string=hai) anos
pai
achega
a8c766220f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/util.c

+ 1 - 1
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;