Squashed warnings

This commit is contained in:
Sergey Lyubka committed 2013-09-12 10:03:04 +01:00
1 parent 0d40364089
commit 5bb361b1d2
2 files changed
+3 -3

No files matched your search

+2 -1
View File
@@ -4552,7 +4552,8 @@ static int is_valid_port(unsigned int port) {
// Examples: 80, 443s, 127.0.0.1:3128, 1.2.3.4:8080s
// TODO(lsm): add parsing of the IPv6 address
static int parse_port_string(const struct vec *vec, struct socket *so) {
unsigned int a, b, c, d, ch, len, port;
unsigned int a, b, c, d, ch, port;
int len;
#if defined(USE_IPV6)
char buf[100];
#endif