aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_descriptor.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-12 17:20:09 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-12 19:03:04 -0400
commita4847ffa915ec7d09ae28ef4ad6bc1c8a1b324ca (patch)
treed92f357551808189367fce55dd9c29a474b24932 /src/test/test_hs_descriptor.c
parent0f58e173134698a813d23288dabc22f2591e9dc2 (diff)
downloadtor-a4847ffa915ec7d09ae28ef4ad6bc1c8a1b324ca.tar.gz
tor-a4847ffa915ec7d09ae28ef4ad6bc1c8a1b324ca.zip
clang scan-build: Fix "dead increment" warnings.
For the most part, these indicated a spot where the code could have been better.
Diffstat (limited to 'src/test/test_hs_descriptor.c')
-rw-r--r--src/test/test_hs_descriptor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_hs_descriptor.c b/src/test/test_hs_descriptor.c
index 7f0d1dd189..9ec183db06 100644
--- a/src/test/test_hs_descriptor.c
+++ b/src/test/test_hs_descriptor.c
@@ -90,6 +90,7 @@ test_cert_encoding(void *arg)
pos += b64_cert_len;
tt_int_op(strcmpstart(pos, "-----END ED25519 CERT-----"), OP_EQ, 0);
pos += strlen("-----END ED25519 CERT-----");
+ tt_str_op(pos, OP_EQ, "");
}
done: