aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/ddb
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-06-16 23:44:18 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-06-16 23:44:18 +0000
commitb33abb34b84807fb9a163fe2af472631abf2cfe2 (patch)
treefd7bac449f13742b69460db23c3f749e058beac4 /sbin/ddb
parent943a127c89801ea40eb3c8417ccc4b931b73d01f (diff)
downloadsrc-b33abb34b84807fb9a163fe2af472631abf2cfe2.tar.gz
src-b33abb34b84807fb9a163fe2af472631abf2cfe2.zip
ddb: build with WARNS=6
Tested with amd64, arm64, i386, mips
Notes
Notes: svn path=/head/; revision=335266
Diffstat (limited to 'sbin/ddb')
-rw-r--r--sbin/ddb/Makefile1
-rw-r--r--sbin/ddb/ddb_script.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/sbin/ddb/Makefile b/sbin/ddb/Makefile
index 914942e34f67..44d002d6c229 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 06f8a4e1644c..e36cb6606380 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)