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
commita3c0e81230596fb23d0ff412641579b8964b0371 (patch)
tree43433a108ca059af5ebe8eb71a40ef580cfe9411
parent63e97754fbf907cfefd277087bfbac5e0d4434e8 (diff)
downloadopenttd-a3c0e81230596fb23d0ff412641579b8964b0371.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);