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:
Willy Tarreau 2020-10-22 05:12:04 +02:00
parent ef71f0194c
commit 9018ca9655

View File

@ -692,9 +692,7 @@ int tcp_wait_out(int sock, const char *arg)
/* delays processing for <time> milliseconds, 100 by default */
int tcp_pause(int sock, const char *arg)
{
struct pollfd pollfd;
int delay = 100;
int ret;
if (arg[1]) {
delay = atoi(arg + 1);