summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-08-11 23:54:05 -0400
committerEniz Vukovic <eniz_vukovic@hotmail.com>2015-10-23 22:54:21 +0200
commit0ad1fadb97af7ead5ae5783ab6948b3f8f7e795b (patch)
treea604bf84668f79bb7a41e09c7ec8f32f36ece811
parentef8b6ccf5658f9d09515a55d555fea1ed1d0a941 (diff)
Remove useless code.
-rw-r--r--toxcore/DHT.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index ae823302..6060a9eb 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -2422,8 +2422,6 @@ static int dht_load_state_callback(void *outer, const uint8_t *data, uint32_t le
2422 2422
2423 int num = unpack_nodes(dht->loaded_nodes_list, MAX_SAVED_DHT_NODES, NULL, data, length, 0); 2423 int num = unpack_nodes(dht->loaded_nodes_list, MAX_SAVED_DHT_NODES, NULL, data, length, 0);
2424 2424
2425 Node_format *client_list = (Node_format *)data;
2426
2427 if (num > 0) { 2425 if (num > 0) {
2428 dht->loaded_num_nodes = num; 2426 dht->loaded_num_nodes = num;
2429 } else { 2427 } else {