From b33abb34b84807fb9a163fe2af472631abf2cfe2 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sat, 16 Jun 2018 23:44:18 +0000 Subject: [PATCH] ddb: build with WARNS=6 Tested with amd64, arm64, i386, mips --- sbin/ddb/Makefile | 1 - sbin/ddb/ddb_script.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sbin/ddb/Makefile b/sbin/ddb/Makefile index 914942e34f6..44d002d6c22 100644 --- a/sbin/ddb/Makefile +++ b/sbin/ddb/Makefile @@ -4,7 +4,6 @@ PACKAGE=runtime PROG= ddb SRCS= ddb.c ddb_capture.c ddb_script.c MAN= ddb.8 -WARNS?= 3 LIBADD= kvm diff --git a/sbin/ddb/ddb_script.c b/sbin/ddb/ddb_script.c index 06f8a4e1644..e36cb660638 100644 --- a/sbin/ddb/ddb_script.c +++ b/sbin/ddb/ddb_script.c @@ -135,7 +135,7 @@ ddb_script(int argc, char *argv[]) } void -ddb_scripts(int argc, char *argv[]) +ddb_scripts(int argc, char *argv[] __unused) { if (argc != 1)