[Commits] [wesnoth/wesnoth] f5e220: add assertions after many unchecked dynamic casts

GitHub noreply at github.com
Wed Nov 19 05:22:41 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f5e2204326af1672a5000860d3d0552623af6785
      https://github.com/wesnoth/wesnoth/commit/f5e2204326af1672a5000860d3d0552623af6785
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-11-19 (Wed, 19 Nov 2014)

  Changed paths:
    M src/game_initialization/create_engine.cpp
    M src/game_initialization/multiplayer_create.cpp
    M src/gui/widgets/widget.cpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  add assertions after many unchecked dynamic casts

These were all reported by coverity, and indeed seem to have been
assumed to work without failing at runtime.





More information about the Commits mailing list