[Commits] [wesnoth/wesnoth] 2e9a9f: Avoid hidden variable warnings produced in MSVC co...

GitHub noreply at github.com
Thu Oct 6 17:03:45 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2e9a9fc2c9a6f70f0d2e3dad576a1ed32f118c6b
      https://github.com/wesnoth/wesnoth/commit/2e9a9fc2c9a6f70f0d2e3dad576a1ed32f118c6b
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
    M src/ai/lua/core.cpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/gui/dialogs/lobby/lobby.cpp
    M src/gui/widgets/chatbox.cpp
    M src/playturn.cpp
    M src/replay.cpp
    M src/savegame.cpp
    M src/scripting/lua_gui2.cpp
    M src/server/game.cpp
    M src/server/server.cpp
    M src/theme.cpp

  Log Message:
  -----------
  Avoid hidden variable warnings produced in MSVC compilation.

An extension of af73336, hopefully this will remove some more of the warnings which pop up in MSVC compilation. Also try to use more explanatory variable names as code should generally be self-documenting and easy to read.


  Commit: ea5728c19a059160d1b18e0b30eb85ecea5f0ae4
      https://github.com/wesnoth/wesnoth/commit/ea5728c19a059160d1b18e0b30eb85ecea5f0ae4
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
    M src/ai/lua/core.cpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/gui/dialogs/lobby/lobby.cpp
    M src/gui/widgets/chatbox.cpp
    M src/playturn.cpp
    M src/replay.cpp
    M src/savegame.cpp
    M src/scripting/lua_gui2.cpp
    M src/server/game.cpp
    M src/server/server.cpp
    M src/theme.cpp

  Log Message:
  -----------
  Merge pull request #812 from Wedge009/refactor_msvc_warnings

Avoid hidden variable warnings produced in MSVC compilation


Compare: https://github.com/wesnoth/wesnoth/compare/8d1e14980fa7...ea5728c19a05


More information about the Commits mailing list