Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9355) Bug: initialize_infrastructure_cache is not call
Home

[Freeciv-Dev] (PR#9355) Bug: initialize_infrastructure_cache is not call

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#9355) Bug: initialize_infrastructure_cache is not called
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Aug 2004 14:50:52 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9355 >

This bug has changed, but is still there.

==1322== Conditional jump or move depends on uninitialised value(s)
==1322==    at 0x80AF2AC: consider_settler_action (settlers.c:823)
==1322==    by 0x80AFF84: evaluate_improvements (settlers.c:1107)
==1322==    by 0x80B05EA: auto_settler_findwork (settlers.c:1218)
==1322==    by 0x80B0D12: auto_settlers_player (settlers.c:1355)

The cache is initialized at the beginning of auto_settlers_player.  My
guess is that a city is founded later during this function and its cache
is never initialized.

jason



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9355) Bug: initialize_infrastructure_cache is not called, Jason Short <=