mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Remove useless code.
This commit is contained in:
parent
6fb8e8cd6e
commit
2b837d2aed
|
@ -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);
|
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) {
|
if (num > 0) {
|
||||||
dht->loaded_num_nodes = num;
|
dht->loaded_num_nodes = num;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user