changeset 920:13727df7b101 draft

(svn r1408) -Fix: uninitialized variable :)
author darkvater <darkvater@openttd.org>
date Thu, 06 Jan 2005 22:50:48 +0000
parents a2d3299a67ee
children 471320499c64
files oldloader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/oldloader.c
+++ b/oldloader.c
@@ -587,7 +587,7 @@
 static void FixTown(OldTown *o, int num, byte town_name_type)
 {
 	Town *t;
-	uint i;
+	uint i = 0;
 
 	do {
 		t = GetTown(i);