Mark the signo as __unused in a lazy signal handler.
This commit is contained in:
parent
21b68415cd
commit
f7f23e15f8
@ -155,7 +155,7 @@ allocbuf(BUF *bp, int fd, int blksize)
|
||||
}
|
||||
|
||||
void
|
||||
lostconn(int signo)
|
||||
lostconn(int signo __unused)
|
||||
{
|
||||
if (!iamremote)
|
||||
warnx("lost connection");
|
||||
|
Loading…
Reference in New Issue
Block a user