Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[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]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#3028) uninitialized value in map/continent code
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Sat, 8 Feb 2003 03:16:05 -0800
Reply-to: rt.freeciv.org@xxxxxxxxxxxxxx

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).

jason



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