mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
echo: Mark callback argument as unused
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
50632f941b
commit
5ddc35d387
1 file changed
+1
-1
+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