[Commits] [wesnoth/wesnoth] fc28c1: remove unused variable

GitHub noreply at github.com
Wed Jul 9 19:34:46 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fc28c17c3d3db7e02bb23c1cab22c01888c70327
      https://github.com/wesnoth/wesnoth/commit/fc28c17c3d3db7e02bb23c1cab22c01888c70327
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M src/game_data.cpp
    M src/game_data.hpp
    M src/game_state.cpp
    M src/teambuilder.hpp

  Log Message:
  -----------
  remove unused variable

the variable was only used for a log message and it's not worth the
additional code complexity


  Commit: adcc3327d70cceccffb542395d3ac82a04022bb3
      https://github.com/wesnoth/wesnoth/commit/adcc3327d70cceccffb542395d3ac82a04022bb3
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M src/game_state.cpp

  Log Message:
  -----------
  removed dead code

this code had no effect except making the code look more complicated.


  Commit: 5a2d187d5a2dc0114184c5468e166c68ef9de274
      https://github.com/wesnoth/wesnoth/commit/5a2d187d5a2dc0114184c5468e166c68ef9de274
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M src/game_data.cpp
    M src/game_data.hpp
    M src/game_state.cpp
    M src/teambuilder.hpp

  Log Message:
  -----------
  remove unused variable


Compare: https://github.com/wesnoth/wesnoth/compare/f1683de861f1...5a2d187d5a2d


More information about the Commits mailing list