diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-31 20:40:20 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-09-02 11:02:56 +0100 |
commit | a9fbdaf46b23db5c598bf33d6bc5c4555b06e674 (patch) | |
tree | e7894501bd010d9904fe0069fc1b8121d2da4040 /testing/DHT_test.c | |
parent | 6f42eadc54e81be50b7a817c72b0cf4d7ec5feb4 (diff) |
Do not use `else` after `return`.
http://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r-- | testing/DHT_test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index e782d765..f6a2c4bc 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -98,7 +98,6 @@ void print_assoc(IPPTsPng *assoc, uint8_t ours) | |||
98 | 98 | ||
99 | printf("Timestamp: %llu\n", (long long unsigned int) assoc->ret_timestamp); | 99 | printf("Timestamp: %llu\n", (long long unsigned int) assoc->ret_timestamp); |
100 | print_hardening(&assoc->hardening); | 100 | print_hardening(&assoc->hardening); |
101 | |||
102 | } | 101 | } |
103 | 102 | ||
104 | void print_clientlist(DHT *dht) | 103 | void print_clientlist(DHT *dht) |