mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
echo: Mark callback argument as unused
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user