summaryrefslogtreecommitdiff
path: root/auto_tests/dht_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-09-30 15:15:50 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-09-30 19:06:44 +0100
commit1977d56caaff40ea9bbf6754b69bec9539a5a969 (patch)
treedb9c6d6c59dc0f91900dafe85dea1ab90f0ca8d9 /auto_tests/dht_test.c
parent949ef785a4e7aa7868c9605b6bbed15c3f4beab9 (diff)
Remove return after no-return situation (and other cleanups).
Cleanups: - Fix header guards to not use reserved names. - Avoid name shadowing. - Removed an unused variable found by avoiding name shadowing.
Diffstat (limited to 'auto_tests/dht_test.c')
-rw-r--r--auto_tests/dht_test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/auto_tests/dht_test.c b/auto_tests/dht_test.c
index 7b22e515..13db7e51 100644
--- a/auto_tests/dht_test.c
+++ b/auto_tests/dht_test.c
@@ -434,9 +434,6 @@ static void test_list_main(void)
434 uint8_t cmp_list1[NUM_DHT][MAX_FRIEND_CLIENTS][crypto_box_PUBLICKEYBYTES + 1]; 434 uint8_t cmp_list1[NUM_DHT][MAX_FRIEND_CLIENTS][crypto_box_PUBLICKEYBYTES + 1];
435 memset(cmp_list1, 0, sizeof(cmp_list1)); 435 memset(cmp_list1, 0, sizeof(cmp_list1));
436 436
437 IP ip;
438 ip_init(&ip, 1);
439
440 unsigned int i, j, k, l; 437 unsigned int i, j, k, l;
441 438
442 for (i = 0; i < NUM_DHT; ++i) { 439 for (i = 0; i < NUM_DHT; ++i) {