add __unused to succeed at WARNS=6
This commit is contained in:
parent
cdcb11b92c
commit
dd99983988
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180426
@ -170,7 +170,7 @@ remmap(u_char *mem, int fd, off_t offset)
|
||||
}
|
||||
|
||||
static void
|
||||
segv_handler(int sig) {
|
||||
segv_handler(int sig __unused) {
|
||||
static const char msg[] = "cmp: Input/output error (caught SIGSEGV)\n";
|
||||
|
||||
write(STDERR_FILENO, msg, sizeof(msg));
|
||||
|
Loading…
Reference in New Issue
Block a user