Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2018 23:44:18 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335266 - head/sbin/ddb
Message-ID:  <201806162344.w5GNiIOw081276@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Jun 16 23:44:18 2018
New Revision: 335266
URL: https://svnweb.freebsd.org/changeset/base/335266

Log:
  ddb: build with WARNS=6
  
  Tested with amd64, arm64, i386, mips

Modified:
  head/sbin/ddb/Makefile
  head/sbin/ddb/ddb_script.c

Modified: head/sbin/ddb/Makefile
==============================================================================
--- head/sbin/ddb/Makefile	Sat Jun 16 21:07:46 2018	(r335265)
+++ head/sbin/ddb/Makefile	Sat Jun 16 23:44:18 2018	(r335266)
@@ -4,7 +4,6 @@ PACKAGE=runtime
 PROG=	ddb
 SRCS=	ddb.c ddb_capture.c ddb_script.c
 MAN=	ddb.8
-WARNS?=	3
 
 LIBADD=	kvm
 

Modified: head/sbin/ddb/ddb_script.c
==============================================================================
--- head/sbin/ddb/ddb_script.c	Sat Jun 16 21:07:46 2018	(r335265)
+++ head/sbin/ddb/ddb_script.c	Sat Jun 16 23:44:18 2018	(r335266)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806162344.w5GNiIOw081276>