From owner-cvs-sys Thu Oct 3 03:36:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA19871 for cvs-sys-outgoing; Thu, 3 Oct 1996 03:36:05 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA19814; Thu, 3 Oct 1996 03:35:41 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.0/8.8.0) with ESMTP id SAA04326; Thu, 3 Oct 1996 18:35:19 +0800 (WST) Message-Id: <199610031035.SAA04326@spinner.DIALix.COM> To: sos@FreeBSD.org cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa syscons.c In-reply-to: Your message of "Thu, 03 Oct 1996 10:33:31 +0200." <199610030833.KAA08361@ra.dkuug.dk> Date: Thu, 03 Oct 1996 18:35:19 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk sos@FreeBSD.org wrote: > So, now we stick __unused all over the place to shut up gcc, and > effectively reduces the -Wunused to the same state it has in > 2.6.3, REAL progress and lots of work :( No, not at all. In the process we find and eliminate the code that passes *unneccesary* parameters to functions. The problem is that gcc cannot tell the difference between functions that are called from uniform interface vectors. Things like the sysctl definitions, syscall handlers, ddb handlers etc are masking the *useful* warnings by sheer weight of numbers. Cheers, -Peter