Removed useless variables.

This commit is contained in:
irungentoo 2014-10-03 17:24:56 -04:00
parent c05cd74870
commit 3cc93792da
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 1 additions and 9 deletions

View File

@ -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);

View File

@ -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;