summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index f6c5117e4..6618d0b40 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -848,8 +848,6 @@ struct DepotWindow : Window {
if (v != NULL && mode == MODE_DRAG_VEHICLE) {
CargoArray capacity, loaded;
- memset(capacity, 0, sizeof(capacity));
- memset(loaded, 0, sizeof(loaded));
/* Display info for single (articulated) vehicle, or for whole chain starting with selected vehicle */
bool whole_chain = (this->type == VEH_TRAIN && _ctrl_pressed);