From owner-freebsd-audit Thu Jun 28 20:46: 8 2001 Delivered-To: freebsd-audit@freebsd.org Received: from coffee.q9media.com (coffee.q9media.com [216.94.229.19]) by hub.freebsd.org (Postfix) with ESMTP id 1854C37B405 for ; Thu, 28 Jun 2001 20:46:05 -0700 (PDT) (envelope-from mike@coffee.q9media.com) Received: (from mike@localhost) by coffee.q9media.com (8.11.2/8.11.2) id f5T3xbF97961; Thu, 28 Jun 2001 23:59:37 -0400 (EDT) (envelope-from mike) Date: Thu, 28 Jun 2001 23:59:37 -0400 (EDT) Message-Id: <200106290359.f5T3xbF97961@coffee.q9media.com> To: audit@FreeBSD.org From: Mike Barcroft Subject: src/bin/dd patch Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I would appreciate it if someone would review and commit the patch at the end of this message. Also available at: http://testbed.q9media.net/freebsd/dd.20010628.patch Best regards, Mike Barcroft ----------------------------------------------------------------------- dd.20010628.patch o Mark unused variables o Set WARNS?=2 Index: dd/dd.c =================================================================== RCS file: /home/ncvs/src/bin/dd/dd.c,v retrieving revision 1.31 diff -u -r1.31 dd.c --- dd/dd.c 2000/10/10 01:48:22 1.31 +++ dd/dd.c 2001/06/29 02:55:29 @@ -87,7 +87,7 @@ int main(argc, argv) - int argc; + int argc __unused; char *argv[]; { (void)setlocale(LC_CTYPE, ""); Index: dd/misc.c =================================================================== RCS file: /home/ncvs/src/bin/dd/misc.c,v retrieving revision 1.21 diff -u -r1.21 misc.c --- dd/misc.c 2001/06/25 06:17:02 1.21 +++ dd/misc.c 2001/06/29 02:55:29 @@ -90,7 +90,7 @@ /* ARGSUSED */ void summaryx(notused) - int notused; + int notused __unused; { int save_errno = errno; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message