summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-23 13:12:19 +0000
committerrubidium <rubidium@openttd.org>2013-11-23 13:12:19 +0000
commitb3e93d65208f74802595b12e682d98a4d534a328 (patch)
tree992b20c16adccf478fb80f75fd1c0805044e709e /src/saveload
parent2e54c8fdfa237f84e8d48b30bf4811ba7ed84327 (diff)
downloadopenttd-b3e93d65208f74802595b12e682d98a4d534a328.tar.xz
(svn r26057) -Fix: a number of possibly uninitialised variables
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/station_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp
index d01c0f3c6..7da2d3bad 100644
--- a/src/saveload/station_sl.cpp
+++ b/src/saveload/station_sl.cpp
@@ -241,7 +241,7 @@ std::list<CargoPacket *> _packets;
uint32 _num_dests;
struct FlowSaveLoad {
- FlowSaveLoad() : via(0), share(0) {}
+ FlowSaveLoad() : source(0), via(0), share(0), restricted(false) {}
StationID source;
StationID via;
uint32 share;