[Freeciv-Dev] Re: cartesian_adjacent_iterate in map.h
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|