mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Removed useless variables.
This commit is contained in:
parent
c05cd74870
commit
3cc93792da
|
@ -397,7 +397,6 @@ static int addpeer(Group_Chats *g_c, int groupnumber, const uint8_t *real_pk, co
|
|||
g->group[g->numpeers].peer_number = peer_number;
|
||||
|
||||
g->group[g->numpeers].last_recv = unix_time();
|
||||
g->group[g->numpeers].last_recv_msgping = unix_time();
|
||||
++g->numpeers;
|
||||
|
||||
add_to_closest(g_c, groupnumber, real_pk, temp_pk);
|
||||
|
|
|
@ -37,18 +37,11 @@ typedef struct {
|
|||
uint8_t real_pk[crypto_box_PUBLICKEYBYTES];
|
||||
uint8_t temp_pk[crypto_box_PUBLICKEYBYTES];
|
||||
|
||||
uint64_t pingid;
|
||||
uint64_t last_pinged;
|
||||
|
||||
uint64_t last_recv;
|
||||
uint64_t last_recv_msgping;
|
||||
uint32_t last_message_number;
|
||||
|
||||
uint8_t nick[MAX_NAME_LENGTH];
|
||||
uint16_t nick_len;
|
||||
|
||||
uint8_t deleted;
|
||||
uint64_t deleted_time;
|
||||
uint8_t nick_len;
|
||||
|
||||
uint16_t peer_number;
|
||||
} Group_Peer;
|
||||
|
|
Loading…
Reference in New Issue
Block a user