[Commits] [wesnoth/wesnoth] 196b51: addon/mg: Drop superfluous NULL pointer check
GitHub
noreply at github.com
Wed Nov 19 02:38:06 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 196b5183b1c77c100e1f47fc4e5b27ba0ee27844
https://github.com/wesnoth/wesnoth/commit/196b5183b1c77c100e1f47fc4e5b27ba0ee27844
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-11-18 (Tue, 18 Nov 2014)
Changed paths:
M src/addon/manager_ui.cpp
Log Message:
-----------
addon/mg: Drop superfluous NULL pointer check
update_all_button's value is obtained from operator new, which will
throw if the allocation fails, so it can never be NULL in subsequent
statements.
Found by coverity.
More information about the Commits
mailing list