From e0c0394e373d2f3326383e79d7fcb9f4e288ae02 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Sun, 14 Oct 2018 18:17:09 +0100 Subject: Fix: Remove various dead or unnecessary assignments --- src/industry_gui.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/industry_gui.cpp') 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) { -- cgit v1.2.3-54-g00ecf