Merge lp:~widelands-dev/widelands/bug-1520820 into lp:widelands
Proposed by
GunChleoc
Status: | Merged |
---|---|
Merged at revision: | 7652 |
Proposed branch: | lp:~widelands-dev/widelands/bug-1520820 |
Merge into: | lp:widelands |
Diff against target: |
45 lines (+6/-6) 1 file modified
src/logic/production_program.cc (+6/-6) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1520820 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Needs Resubmitting | ||
TiborB | Needs Fixing | ||
Tino | Pending | ||
Review via email: mp+278898@code.launchpad.net |
Description of the change
Initialized some variables to fix error in gcc 5.2.0.
Tino, could you please check if this does fix it?
To post a comment you must log in.
But I dont think it is correct, providing that m_items is bigger then 1 and it contains various wares - count should be either sum of all item_pair.second (see comment of diff) or rather the result string should be in format warename+count and should be generated differently... In fact I dont remember detaily the format of this string in the game...