diff options
author | GDR! <gdr@gdr.name> | 2015-07-07 19:08:46 +0200 |
---|---|---|
committer | GDR! <gdr@gdr.name> | 2015-07-07 19:08:46 +0200 |
commit | 3fd4542ce246116b91ade0376639b5c145c3d3a9 (patch) | |
tree | 58255e48a0b8a11520a8d242dae7adbc077ce185 /client.c | |
parent | 568238b53927804119dcc892919654deb961c4eb (diff) |
CID 122514 (#6 of 6): Uninitialized scalar variable (UNINIT)10.
uninit_use_in_call: Using uninitialized value friendnumber when calling
send_tunnel_request_packet.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,7 @@ int do_client_loop(char *tox_id_str) | |||
228 | { | 228 | { |
229 | unsigned char tox_packet_buf[PROTOCOL_MAX_PACKET_SIZE]; | 229 | unsigned char tox_packet_buf[PROTOCOL_MAX_PACKET_SIZE]; |
230 | unsigned char tox_id[TOX_ADDRESS_SIZE]; | 230 | unsigned char tox_id[TOX_ADDRESS_SIZE]; |
231 | uint32_t friendnumber; | 231 | uint32_t friendnumber = 0; |
232 | struct timeval tv; | 232 | struct timeval tv; |
233 | fd_set fds; | 233 | fd_set fds; |
234 | static time_t invitation_sent_time = 0; | 234 | static time_t invitation_sent_time = 0; |