From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: [Etherboot-developers] __unused in arch/i386/include/hooks.h From: mirtchov@cpsc.ucalgary.ca In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sun, 18 Jan 2004 10:09:27 -0700 Topicbox-Message-UUID: bc4bc350-eacc-11e9-9e20-41e7f4b1d025 > given the ongoing discussion of C extensions, I thought this one was a > beaut. > suppressing warnings seems to be a problem few programmers (present on this list company excluded) manage to tackle successfuly: home% cd src/links-ape/ home% sed -n 223,228p gif.c accept_code(struct gif_decoder *deco,int c) { int k; k=k; /* To suppress warning */ if (c>4096||c<0) return; /* Erroneous code word will be ignored */ home% Plan 9 has USED(). Interestingly enough, in the lunix version of Plan 9's libraries USED() works on a single argument only :)