Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: Another compiler warning on gcc 3.0 on solaris 8
Home

[Freeciv-Dev] Re: Another compiler warning on gcc 3.0 on solaris 8

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Another compiler warning on gcc 3.0 on solaris 8
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Sep 2001 09:18:55 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Thu, Sep 13, 2001 at 04:42:56PM -0700, Paul Zastoupil wrote:
> The warning:
> map.c: In function `get_direction_for_step':
> map.c:1409: warning: control reaches end of non-void function

Fixed.

In the longer term we should think about s/assert(0)/abort()/ or
something similar.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  One nuclear bomb can ruin your whole day.


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