add __unused to succeed at WARNS=6

This commit is contained in:
charnier 2008-07-10 13:26:46 +00:00
parent 4b9bb0069f
commit 3881e50cba

View File

@ -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));