echo: Mark callback argument as unused

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-09-05 00:54:29 +02:00
parent 50632f941b
commit 5ddc35d387
+1 -1
View File
@@ -41,7 +41,7 @@ static int recv_peer(int sd, char *buf, ssize_t len, struct sockaddr *sa, sockle
return len;
}
static int cb(int type)
static int cb(int UNUSED(type))
{
int sd = STDIN_FILENO;
char buf[BUFSIZ];