diff options
author | rubidium <rubidium@openttd.org> | 2011-09-08 10:02:43 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-09-08 10:02:43 +0000 |
commit | 748bddb31a8b9f4924b3b6f4c714598d5cf190fe (patch) | |
tree | 98e4e700e397e93a78267993fbe6cd8645ec7f2c /src/script/script_scanner.cpp | |
parent | 62777dbd84f380b701e7be8b6aac86af9a511de4 (diff) | |
download | openttd-748bddb31a8b9f4924b3b6f4c714598d5cf190fe.tar.xz |
(svn r22906) -Fix (r22905): variable not properly cleared before use
Diffstat (limited to 'src/script/script_scanner.cpp')
-rw-r--r-- | src/script/script_scanner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/script_scanner.cpp b/src/script/script_scanner.cpp index 9a4988d68..258a05643 100644 --- a/src/script/script_scanner.cpp +++ b/src/script/script_scanner.cpp @@ -57,6 +57,7 @@ ScriptScanner::ScriptScanner() /* Mark this class as global pointer */ this->engine->SetGlobalPointer(this); this->main_script = NULL; + this->tar_file = NULL; } ScriptScanner::~ScriptScanner() |