Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: cartesian_adjacent_iterate in map.h
Home

[Freeciv-Dev] Re: cartesian_adjacent_iterate in map.h

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: cartesian_adjacent_iterate in map.h
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Wed, 6 Feb 2002 21:55:39 +0000 (WET)

On Wed, 6 Feb 2002, Raimar Falke wrote:

> No. But splint has an option where it warns about constructs like
> this:
>  for(...)
>  {
>    for(...)
>    {
>      continue or break
>    }
>  }
> 
> with "are you sure that you didn't mean to continue/break the outer
> loop"? I don't think it is a good idea to change freeciv to get no
> such warning at all but in the above case in can be avoided without
> cost.

Okay, i only made it like this because all the other map iterator macros
are exactly the same.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





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