(svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output

This commit is contained in:
smatz
2009-06-23 20:32:51 +00:00
parent b5f49d5b5a
commit da1b67f115
2 changed files with 11 additions and 28 deletions

View File

@@ -51,7 +51,6 @@ struct GoodsEntry {
/** A Stop for a Road Vehicle */
struct RoadStop : RoadStopPool::PoolItem<&_roadstop_pool> {
static const int cDebugCtorLevel = 5; ///< Debug level on which Contructor / Destructor messages are printed
static const uint LIMIT = 16; ///< The maximum amount of roadstops that are allowed at a single station
static const uint MAX_BAY_COUNT = 2; ///< The maximum number of loading bays
static const uint MAX_VEHICLES = 64; ///< The maximum number of vehicles that can allocate a slot to this roadstop
@@ -166,8 +165,6 @@ public:
StationRect rect; ///< Station spread out rectangle (not saved) maintained by StationRect_xxx() functions
static const int cDebugCtorLevel = 5;
Station(TileIndex tile = INVALID_TILE);
~Station();