Mark the signo as __unused in a lazy signal handler.
This commit is contained in:
parent
30b02a2de2
commit
89c5289c52
@ -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…
x
Reference in New Issue
Block a user