[Commits] [wesnoth/wesnoth-old] 6f3dd3: Remove a variable which is only assigned.

GitHub noreply at github.com
Sun Feb 9 18:38:21 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth-old
  Commit: 6f3dd3b1e1cf0162112a1dbf83d4203ca3777744
      https://github.com/wesnoth/wesnoth-old/commit/6f3dd3b1e1cf0162112a1dbf83d4203ca3777744
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M src/multiplayer_create.cpp

  Log Message:
  -----------
  Remove a variable which is only assigned.

Issue found by cppcheck.


  Commit: 3b1b13e96d79e8521223b478289b8d543bb3853d
      https://github.com/wesnoth/wesnoth-old/commit/3b1b13e96d79e8521223b478289b8d543bb3853d
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M src/editor/map/context_manager.cpp

  Log Message:
  -----------
  Limit variable scope.

Also avoid shadowing the variable res.

Issue found by cppcheck.


  Commit: cb65b325a058268ebbd7df5f35d355d6a355a380
      https://github.com/wesnoth/wesnoth-old/commit/cb65b325a058268ebbd7df5f35d355d6a355a380
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2014-02-09 (Sun, 09 Feb 2014)

  Changed paths:
    M src/game_controller.cpp

  Log Message:
  -----------
  Remove an unneeded temporary variable.

Issue found by cppcheck.


Compare: https://github.com/wesnoth/wesnoth-old/compare/cd1b62929a23...cb65b325a058


More information about the Commits mailing list