mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
fix compiler warning: defined but not used
This commit is contained in:
parent
6abbbaad1b
commit
b6f29bef06
@ -987,12 +987,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
logmsg("Running IPv%d version on port %hu",
|
logmsg("Running IPv%d version on port %hu",
|
||||||
#ifdef ENABLE_IPV6
|
(use_ipv6?6:4), port);
|
||||||
(use_ipv6?6:4)
|
|
||||||
#else
|
|
||||||
4
|
|
||||||
#endif
|
|
||||||
, port );
|
|
||||||
|
|
||||||
/* start accepting connections */
|
/* start accepting connections */
|
||||||
rc = listen(sock, 5);
|
rc = listen(sock, 5);
|
||||||
|
@ -516,12 +516,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
logmsg("Running IPv%d version on port UDP/%hu",
|
logmsg("Running IPv%d version on port UDP/%hu",
|
||||||
#ifdef ENABLE_IPV6
|
(use_ipv6?6:4), port);
|
||||||
(use_ipv6?6:4)
|
|
||||||
#else
|
|
||||||
4
|
|
||||||
#endif
|
|
||||||
, port );
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
fromlen = sizeof(from);
|
fromlen = sizeof(from);
|
||||||
|
Loading…
Reference in New Issue
Block a user