summaryrefslogtreecommitdiff
path: root/src/common/util_format.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-15 17:25:53 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-15 17:28:26 -0400
commit7b54d7ebbd963a0a40b6ff5109ea0e3eedde534d (patch)
treed7a0cbfd83a86dc32722ec090e05aca3e477ccc9 /src/common/util_format.c
parent327d4c11ddbed709b3cca5bb12265f201797d569 (diff)
downloadtor-7b54d7ebbd963a0a40b6ff5109ea0e3eedde534d.tar.gz
tor-7b54d7ebbd963a0a40b6ff5109ea0e3eedde534d.zip
Mark src/common tor_assert(0)/tor_fragile_assert() unreached for coverage
I audited this to make sure I was only marking ones that really should be unreachable.
Diffstat (limited to 'src/common/util_format.c')
-rw-r--r--src/common/util_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util_format.c b/src/common/util_format.c
index 8aae9e8771..2dea187e40 100644
--- a/src/common/util_format.c
+++ b/src/common/util_format.c
@@ -249,7 +249,7 @@ base64_encode(char *dest, size_t destlen, const char *src, size_t srclen,
break;
default:
/* Something went catastrophically wrong. */
- tor_fragile_assert();
+ tor_fragile_assert(); // LCOV_EXCL_LINE
return -1;
}