Revert "initialize variables used in conditional jumps"

This reverts commit f89b38947a.
This commit is contained in:
thorkill 2015-06-30 18:10:10 +02:00
parent 104017df7a
commit f5f35bd148
4 changed files with 11 additions and 11 deletions

View file

@ -713,7 +713,7 @@ static void send_udppacket(node_t *n, vpn_packet_t *origpkt) {
/* Send the packet */
const sockaddr_t *sa = NULL;
int sock = -1;
int sock;
if(n->status.send_locally)
choose_local_address(n, &sa, &sock);
@ -795,7 +795,7 @@ bool send_sptps_data(node_t *to, node_t *from, int type, const void *data, size_
memcpy(buf_ptr, data, len); buf_ptr += len;
const sockaddr_t *sa = NULL;
int sock = -1;
int sock;
if(relay->status.send_locally)
choose_local_address(relay, &sa, &sock);
if(!sa)