Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#3028) uninitialized value in map/continent code
Home

[Freeciv-Dev] (PR#3028) uninitialized value in map/continent code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#3028) uninitialized value in map/continent code
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Jul 2004 13:05:54 -0700
Reply-to: rt@xxxxxxxxxxx

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

> [jdorje - Sat Feb 08 11:16:04 2003]:
> 
> When I run the *client* under valgrind, I get this warning about 4 times:
> 
> ==12809== Conditional jump or move depends on uninitialised value(s)
> ==12809==    at 0x80C717C: update_continents (map.c:1356)
> ==12809==    by 0x8077903: handle_tile_info (packhand.c:1615)
> ==12809==    by 0x8066AC5: handle_packet_input (civclient.c:283)
> ==12809==    by 0x806A59C: input_from_server (clinet.c:329)
> 
> at first glance this looks impossible.  Yet I presume it means that
> map_get_continent is returning an "ininitialized" value, meaning the
> player continent information is not being fully initialized.
> 
> This warning occurred near the start of the game, I don't remember
> exactly when (but it was *after* the nation selection had completed).

I can no longer reproduce this.

jason



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#3028) uninitialized value in map/continent code, Jason Short <=