summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-06-08 22:02:34 -0400
committerirungentoo <irungentoo@gmail.com>2015-06-08 22:02:34 -0400
commit3e352749adee6dabd2ae2dac53b40813b9672441 (patch)
tree9f8968597dfc01841c0ffd84ce6b612f6e35725f /toxcore
parent3299452dd947f77f0d30842bcf1470dc760816c4 (diff)
Remove useless variables.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/DHT.c2
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(). */
2327void DHT_save(DHT *dht, uint8_t *data) 2327void 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