summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-06 22:50:48 +0000
committerdarkvater <darkvater@openttd.org>2005-01-06 22:50:48 +0000
commit725591513d068c96ae3be1bf24af6f8559aef6e9 (patch)
tree43433a108ca059af5ebe8eb71a40ef580cfe9411
parentb450603437d1eae96e109058ab1c59b86be8a216 (diff)
downloadopenttd-725591513d068c96ae3be1bf24af6f8559aef6e9.tar.xz
(svn r1408) -Fix: uninitialized variable :)
-rw-r--r--oldloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c
index d84ce5e9a..66343784f 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -587,7 +587,7 @@ extern uint32 GetOldTownName(uint32 townnameparts, byte old_town_name_type);
static void FixTown(OldTown *o, int num, byte town_name_type)
{
Town *t;
- uint i;
+ uint i = 0;
do {
t = GetTown(i);