[Freeciv-Dev] Re: (PR#8648) Bool and type related cleanups
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8648 >
Raimar Falke wrote:
>
> Found by splint.
>
> Highlight:
> - return FALSE;
> + return NULL;
>
> I wonder why this wasn't found by gcc.
>
Both are preprocessor macros with same definition: '0'. (For some
systems NULL is defined as '(void) 0', though) Actual compiler never
sees them.
- Caz
- [Freeciv-Dev] Re: (PR#8648) Bool and type related cleanups,
Marko Lindqvist <=
|
|