[Commits] [wesnoth/wesnoth] ead94b: Pass object by reference

GitHub noreply at github.com
Tue Jul 7 02:40:45 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ead94b399b8a78202eb03f3853e753fdf76fa188
      https://github.com/wesnoth/wesnoth/commit/ead94b399b8a78202eb03f3853e753fdf76fa188
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-06 (Mon, 06 Jul 2015)

  Changed paths:
    M src/make_enum.hpp

  Log Message:
  -----------
  Pass object by reference

Found by cppcheck.


  Commit: ed2a64fe26a89f87c869ffecfcbdab5e81adf698
      https://github.com/wesnoth/wesnoth/commit/ed2a64fe26a89f87c869ffecfcbdab5e81adf698
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-06 (Mon, 06 Jul 2015)

  Changed paths:
    M src/game_board.cpp
    M src/game_board.hpp

  Log Message:
  -----------
  Pass object by reference

Found by cppcheck.


  Commit: ef0eb55f241150ab707221304199636783b135cc
      https://github.com/wesnoth/wesnoth/commit/ef0eb55f241150ab707221304199636783b135cc
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-06 (Mon, 06 Jul 2015)

  Changed paths:
    M src/help/help_topic_generators.cpp

  Log Message:
  -----------
  Use prefix instead of postfix increment/decrement

Found by cppcheck.


  Commit: 413d3528bdf65fbac94dbfc642871450d9acab31
      https://github.com/wesnoth/wesnoth/commit/413d3528bdf65fbac94dbfc642871450d9acab31
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-06 (Mon, 06 Jul 2015)

  Changed paths:
    M src/help/help_impl.cpp

  Log Message:
  -----------
  Use empty() method instead of size() for emptiness checks

Found by cppcheck.


  Commit: c76de34fe6937edb14d77bd4c63a7b45e490c03b
      https://github.com/wesnoth/wesnoth/commit/c76de34fe6937edb14d77bd4c63a7b45e490c03b
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-06 (Mon, 06 Jul 2015)

  Changed paths:
    M src/halo.cpp

  Log Message:
  -----------
  Use prefix instead of postfix increment/decrement

Found by cppcheck.


  Commit: 926ba98d465844451f39e4d3a4ef901db09d43e4
      https://github.com/wesnoth/wesnoth/commit/926ba98d465844451f39e4d3a4ef901db09d43e4
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-06 (Mon, 06 Jul 2015)

  Changed paths:
    M src/mp_game_settings.cpp

  Log Message:
  -----------
  Add missing field from ctor initialization list

Found by cppcheck.


Compare: https://github.com/wesnoth/wesnoth/compare/98c910e10961...926ba98d4658


More information about the Commits mailing list