mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
Remove or mark unused variables
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
a384a95529
commit
fc2489d9e1
3 files changed
+3
-4
No files matched your search
+1
-2
@@ -75,10 +75,9 @@ static int send_peer(int sd, char *buf, ssize_t len, struct sockaddr *sa, sockle
|
||||
return sendto(sd, pattern, strlen(pattern), MSG_DONTWAIT, sa, sa_len);
|
||||
}
|
||||
|
||||
static int cb(int type)
|
||||
static int cb(int UNUSED(type))
|
||||
{
|
||||
int sd = STDIN_FILENO;
|
||||
ssize_t len;
|
||||
char buf[BUFSIZ];
|
||||
struct sockaddr_storage sa;
|
||||
socklen_t sa_len = sizeof(sa);
|
||||
|
||||
Reference in new issue
Block a user