9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Brantley Coile <brantley@coraid.com>
To: 9fans@cse.psu.edu
Subject: [9fans] 8c funny
Date: Thu, 26 May 2005 12:52:33 -0400	[thread overview]
Message-ID: <70a42a4d7b217162f91a2824c4795fe7@coraid.com> (raw)

Any one seen this before?

term% cat busted.c
#include <u.h>
#include <libc.h>

void
main(void)
{
	vlong a;
	int b;

	if (a == b)
		exits(nil);
	exits(nil);
}
term% 8c -FVw busted.c
warning: busted.c:5 used and not set: b
term% 

Note that a doesn't get tagged as used and not set.


 Brantley


             reply	other threads:[~2005-05-26 16:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 16:52 Brantley Coile [this message]
2005-05-26 17:02 ` Bruce Ellis
2005-05-26 17:10 Brantley Coile
2005-05-26 17:16 ` Russ Cox
2005-05-26 17:18 ` Bruce Ellis
2005-05-26 18:23   ` Charles Forsyth
2005-05-26 18:44 Ben Huntsman
2005-05-26 18:55 ` jmk

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=70a42a4d7b217162f91a2824c4795fe7@coraid.com \
    --to=brantley@coraid.com \
    --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).