diff options
Diffstat (limited to 'toxcore/DHT.c')
-rw-r--r-- | toxcore/DHT.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c index ca87ad90..dc11ef05 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c | |||
@@ -2326,8 +2326,6 @@ static uint8_t *z_state_save_subheader(uint8_t *data, uint32_t len, uint16_t typ | |||
2326 | /* Save the DHT in data where data is an array of size DHT_size(). */ | 2326 | /* Save the DHT in data where data is an array of size DHT_size(). */ |
2327 | void DHT_save(DHT *dht, uint8_t *data) | 2327 | void DHT_save(DHT *dht, uint8_t *data) |
2328 | { | 2328 | { |
2329 | uint32_t len; | ||
2330 | uint16_t type; | ||
2331 | *(uint32_t *)data = DHT_STATE_COOKIE_GLOBAL; | 2329 | *(uint32_t *)data = DHT_STATE_COOKIE_GLOBAL; |
2332 | data += sizeof(uint32_t); | 2330 | data += sizeof(uint32_t); |
2333 | 2331 | ||