mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
CONTRIB: tcploop: remove unused local variables in tcp_pause()
Building with -Wall shows that "pollfd" and "ret" are not used. Silly copy-paste...
This commit is contained in:
parent
ef71f0194c
commit
9018ca9655
@ -692,9 +692,7 @@ int tcp_wait_out(int sock, const char *arg)
|
|||||||
/* delays processing for <time> milliseconds, 100 by default */
|
/* delays processing for <time> milliseconds, 100 by default */
|
||||||
int tcp_pause(int sock, const char *arg)
|
int tcp_pause(int sock, const char *arg)
|
||||||
{
|
{
|
||||||
struct pollfd pollfd;
|
|
||||||
int delay = 100;
|
int delay = 100;
|
||||||
int ret;
|
|
||||||
|
|
||||||
if (arg[1]) {
|
if (arg[1]) {
|
||||||
delay = atoi(arg + 1);
|
delay = atoi(arg + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user