Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: == NULL && != NULL
Home

[Freeciv-Dev] Re: == NULL && != NULL

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: == NULL && != NULL
From: Greg Wooledge <greg@xxxxxxxxxxxx>
Date: Sun, 10 Feb 2002 13:52:26 -0500

Raimar Falke (hawk@xxxxxxxxxxxxxxxxxxxxxxx) wrote:

> No. But there are some constructs like "int c; .... if(c)" which
> bother splint.

I'd like to point out that there's a big difference between this:

  int c;
  if (c) do_something();

and this:

  int is_blue;
  if (is_blue) do_something();

At least IMHO.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg@xxxxxxxxxxxx              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

Attachment: pgp0_1ahLj4Qf.pgp
Description: PGP signature


[Prev in Thread] Current Thread [Next in Thread]