Merge lp:~hjd/widelands/remove-unused-variables into lp:widelands
Proposed by
Hans Joachim Desserud
Status: | Merged |
---|---|
Merged at revision: | 5844 |
Proposed branch: | lp:~hjd/widelands/remove-unused-variables |
Merge into: | lp:widelands |
Diff against target: |
24 lines (+0/-3) 2 files modified
src/ai/defaultai.cc (+0/-2) src/scripting/lua_game.cc (+0/-1) |
To merge this branch: | bzr merge lp:~hjd/widelands/remove-unused-variables |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nicolai Hähnle | Approve | ||
Review via email: mp+50468@code.launchpad.net |
Description of the change
Removed a few unused variables which were causing warnings at compilation-time.
To post a comment you must log in.
FWIW, here's the warnings: widelands/ src/ai/ defaultai. cc: In member function ‘bool DefaultAI: :check_ mines(int32_ t)’: widelands/ src/ai/ defaultai. cc:1794: warning: unused variable ‘en_bo’ widelands/ src/scripting/ lua_game. cc: In member function ‘int LuaGame: :L_Player: :add_objective( lua_State* )’: widelands/ src/scripting/ lua_game. cc:573: warning: unused variable ‘p’
/home/user/
/home/user/
/home/user/
/home/user/
The warning concerned bld appeared once I had removed en_bo, since it was the only place where it was used.