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
ef8b6ccf56
commit
0ad1fadb97
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user