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

[Freeciv-Dev] 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: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Another compiler warning on gcc 3.0 on solaris 8
From: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Date: Thu, 13 Sep 2001 16:42:56 -0700

The warning:
map.c: In function `get_direction_for_step':
map.c:1409: warning: control reaches end of non-void function


And what I think the relevant bit from cvs log:
revision 1.82
date: 2001/08/26 09:28:16;  author: rfalke;  state: Exp;  lines: +19 -0
Replace for loops with
adjc_dir_iterate. s/adjc_iterate_dir_end/adjc_dir_iterate_end/. New
method (get_direction_for_step) to do reverse direction lookup.

Patch by Ross Wetmore <rwetmore@xxxxxxxxxxxx> with changes by me.

-- 
Paul Zastoupil


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