From 2b837d2aed0c572e3a47939750f34bc7d7a454ba Mon Sep 17 00:00:00 2001 From: irungentoo Date: Tue, 11 Aug 2015 23:54:05 -0400 Subject: [PATCH] Remove useless code. --- toxcore/DHT.c | 2 -- 1 file changed, 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 int num = unpack_nodes(dht->loaded_nodes_list, MAX_SAVED_DHT_NODES, NULL, data, length, 0); - Node_format *client_list = (Node_format *)data; - if (num > 0) { dht->loaded_num_nodes = num; } else {