[Commits] [wesnoth/wesnoth] 0cb203: Suppress unchecked return warning

GitHub noreply at github.com
Fri Oct 27 01:50:45 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0cb203e9c02dc666b067e92bd67264946b814d3e
      https://github.com/wesnoth/wesnoth/commit/0cb203e9c02dc666b067e92bd67264946b814d3e
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M src/gui/dialogs/message.cpp
    M src/gui/widgets/label.cpp
    M src/menu_events.cpp

  Log Message:
  -----------
  Suppress unchecked return warning

Coverity has been complaining that a few uses of show_message do not have their return value checked.

Casting to void supresses these warning be documenting the value is intentionally not  checked.

This closes

CID 1380185
CID 1380186
CID 1380258





More information about the Commits mailing list