mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Remove useless var.
This commit is contained in:
parent
87b11024cd
commit
443e23fcf6
|
@ -2567,9 +2567,8 @@ void messenger_save(const Messenger *m, uint8_t *data)
|
||||||
|
|
||||||
uint32_t len;
|
uint32_t len;
|
||||||
uint16_t type;
|
uint16_t type;
|
||||||
uint32_t *data32, size32 = sizeof(uint32_t);
|
uint32_t size32 = sizeof(uint32_t);
|
||||||
|
|
||||||
data32 = (uint32_t *)data;
|
|
||||||
memset(data, 0, size32);
|
memset(data, 0, size32);
|
||||||
data += size32;
|
data += size32;
|
||||||
host_to_lendian32(data, MESSENGER_STATE_COOKIE_GLOBAL);
|
host_to_lendian32(data, MESSENGER_STATE_COOKIE_GLOBAL);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user