9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: mirtchov@cpsc.ucalgary.ca
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: [Etherboot-developers] __unused in arch/i386/include/hooks.h
Date: Sun, 18 Jan 2004 10:09:27 -0700	[thread overview]
Message-ID: <b02542f96625d4e166e9dedc97e8030b@plan9.ucalgary.ca> (raw)
In-Reply-To: <Pine.LNX.4.44.0401181020550.6300-100000@maxroach.lanl.gov>

> 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 :)



  reply	other threads:[~2004-01-18 17:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-18 17:21 [9fans] Re: [Etherboot-developers] __unused in arch/i386/include/hooks.h (fwd) ron minnich
2004-01-18 17:09 ` mirtchov [this message]
2004-01-18 23:20   ` [9fans] Re: [Etherboot-developers] __unused in arch/i386/include/hooks.h Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b02542f96625d4e166e9dedc97e8030b@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).