summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2018-10-14 18:17:09 +0100
committerfrosch <github@elsenhans.name>2018-10-31 12:41:49 +0100
commite0c0394e373d2f3326383e79d7fcb9f4e288ae02 (patch)
tree0242bbb30aea2abf39ead7af8f0cf7d5fe8f0542 /src/industry_gui.cpp
parentf5b1115039e41d7f75f91e7355003f10dd01b352 (diff)
downloadopenttd-e0c0394e373d2f3326383e79d7fcb9f4e288ae02.tar.xz
Fix: Remove various dead or unnecessary assignments
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index dd1f765a7..9108c4e7a 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -508,7 +508,6 @@ public:
y += FONT_HEIGHT_NORMAL;
/* Get the additional purchase info text, if it has not already been queried. */
- str = STR_NULL;
if (HasBit(indsp->callback_mask, CBM_IND_FUND_MORE_TEXT)) {
uint16 callback_res = GetIndustryCallback(CBID_INDUSTRY_FUND_MORE_TEXT, 0, 0, NULL, this->selected_type, INVALID_TILE);
if (callback_res != CALLBACK_FAILED && callback_res != 0x400) {