From: "Devon H. O'Dell" <devon.odell@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] const if false
Date: Tue, 16 Jan 2007 13:02:32 -0500 [thread overview]
Message-ID: <9ab217670701161002g33eeecc0u88e851e63a57d21f@mail.gmail.com> (raw)
In-Reply-To: <13426df10701160939i7d46b5b1t8f89ab0ae88361cd@mail.gmail.com>
2007/1/16, ron minnich <rminnich@gmail.com>:
> it's on something like this:
>
> if (A != 0 && keylen != A) {
> }
>
>
> gets an error 'const if false'
>
> A is defined to zero. So, what do I care if 'const if false'. I did
> not write this code ... but it's what they want, evidently.
I guess because the first part of the if is always false, the if is
useless and it is telling you to fix `your' code.
--dho
> ron
>
next prev parent reply other threads:[~2007-01-16 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-16 17:39 ron minnich
2007-01-16 18:02 ` Devon H. O'Dell [this message]
2007-01-16 18:19 ` Russ Cox
2007-01-16 18:32 ` ron minnich
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=9ab217670701161002g33eeecc0u88e851e63a57d21f@mail.gmail.com \
--to=devon.odell@gmail.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).