[Commits] [wesnoth/wesnoth] 89879e: Use prefix instead of postfix increment/decrement
GitHub
noreply at github.com
Tue Jul 7 02:02:20 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 89879e67c601244dcee114ebff1308286f16733a
https://github.com/wesnoth/wesnoth/commit/89879e67c601244dcee114ebff1308286f16733a
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-07-06 (Mon, 06 Jul 2015)
Changed paths:
M src/ai/lua/core.cpp
Log Message:
-----------
Use prefix instead of postfix increment/decrement
Found by cppcheck.
Commit: a126563da16fa0631d2972e9ba7f5e3c03dfa0e0
https://github.com/wesnoth/wesnoth/commit/a126563da16fa0631d2972e9ba7f5e3c03dfa0e0
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-07-06 (Mon, 06 Jul 2015)
Changed paths:
M src/gettext_boost.cpp
Log Message:
-----------
i18n: Use ctor initialization list instead of statement in ctor body
Found by cppcheck.
Commit: 10bb87535ff077f8214f764755808b98e0185eb4
https://github.com/wesnoth/wesnoth/commit/10bb87535ff077f8214f764755808b98e0185eb4
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-07-06 (Mon, 06 Jul 2015)
Changed paths:
M src/gui/widgets/list.cpp
Log Message:
-----------
gui2: Initialize variables
Found by cppcheck.
Commit: bcfdc85568b308b48138ee5884595f272a0795c3
https://github.com/wesnoth/wesnoth/commit/bcfdc85568b308b48138ee5884595f272a0795c3
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-07-06 (Mon, 06 Jul 2015)
Changed paths:
M src/scripting/debug_lua.cpp
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_cpp_function.cpp
Log Message:
-----------
Use prefix instead of postfix increment/decrement
Found by cppcheck.
Commit: ddde2a6d6402d05a9440209ed43952f01ec38d83
https://github.com/wesnoth/wesnoth/commit/ddde2a6d6402d05a9440209ed43952f01ec38d83
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-07-06 (Mon, 06 Jul 2015)
Changed paths:
M src/show_dialog.cpp
Log Message:
-----------
gui1: Elide pointless assignment
Found by cppcheck.
Commit: cd2620e439bf490963ae3e187cc4d6644f269e81
https://github.com/wesnoth/wesnoth/commit/cd2620e439bf490963ae3e187cc4d6644f269e81
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-07-06 (Mon, 06 Jul 2015)
Changed paths:
M src/strftime.cpp
Log Message:
-----------
Fix end iterator dereference with specific util::strftime() input
A format string with a trailing '%' character at the end would cause an
implementation detail to dereference the end iterator of a string. Since
the underlying storage is a null-terminated string, this would be
harmless in practice.
Found by cppcheck.
Compare: https://github.com/wesnoth/wesnoth/compare/6de490dbf0b8...cd2620e439bf
More information about the Commits
mailing list