From owner-svn-src-head@freebsd.org Sat Jun 16 23:44:19 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C228100243D; Sat, 16 Jun 2018 23:44:19 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F99073F17; Sat, 16 Jun 2018 23:44:19 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 30BD757BB; Sat, 16 Jun 2018 23:44:19 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5GNiJA3081278; Sat, 16 Jun 2018 23:44:19 GMT (envelope-from eadler@FreeBSD.org) Received: (from eadler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5GNiIOw081276; Sat, 16 Jun 2018 23:44:18 GMT (envelope-from eadler@FreeBSD.org) Message-Id: <201806162344.w5GNiIOw081276@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eadler set sender to eadler@FreeBSD.org using -f From: Eitan Adler Date: Sat, 16 Jun 2018 23:44:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335266 - head/sbin/ddb X-SVN-Group: head X-SVN-Commit-Author: eadler X-SVN-Commit-Paths: head/sbin/ddb X-SVN-Commit-Revision: 335266 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2018 23:44:19 -0000 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)