diff options
author | Andrew Cady <d@jerkface.net> | 2020-08-20 08:43:42 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-08-20 16:29:57 -0400 |
commit | 9217b34608eeb74b3273bc844b1eedf527c0d7d1 (patch) | |
tree | b28d37d5a6e20458f86476c531e7b0e8ce5e88dd | |
parent | 8b340e2ae7abf51f17c772a0cbb7c2ac38f2023e (diff) |
remove unused variable
-rw-r--r-- | client.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -281,7 +281,6 @@ int do_client_loop(uint8_t *tox_id_str) | |||
281 | uint32_t friendnumber = 0; | 281 | uint32_t friendnumber = 0; |
282 | TOX_CONNECTION last_friend_connection_status = TOX_CONNECTION_NONE; | 282 | TOX_CONNECTION last_friend_connection_status = TOX_CONNECTION_NONE; |
283 | time_t last_friend_connection_status_received = 0; | 283 | time_t last_friend_connection_status_received = 0; |
284 | time_t connection_lost_timestamp = 0; | ||
285 | struct timeval tv; | 284 | struct timeval tv; |
286 | fd_set fds; | 285 | fd_set fds; |
287 | static time_t invitation_sent_time = 0; | 286 | static time_t invitation_sent_time = 0; |
@@ -618,7 +617,6 @@ int do_client_loop(uint8_t *tox_id_str) | |||
618 | if(friend_connection_status == TOX_CONNECTION_NONE) | 617 | if(friend_connection_status == TOX_CONNECTION_NONE) |
619 | { | 618 | { |
620 | state = CLIENT_STATE_CONNECTION_LOST; | 619 | state = CLIENT_STATE_CONNECTION_LOST; |
621 | connection_lost_timestamp = time(NULL); | ||
622 | } | 620 | } |
623 | } | 621 | } |
624 | 622 | ||