[Commits] [wesnoth/wesnoth] 851f64: fix a warning: placement new syntax does not requi...

GitHub noreply at github.com
Mon Nov 24 02:32:44 UTC 2014


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

  Changed paths:
    M src/scripting/lua_rng.cpp

  Log Message:
  -----------
  fix a warning: placement new syntax does not require var assignment

Coverity complained about this and I added compiler directives to
suppress the unused var when I first wrote this, but in fact the
variable is unnecessary and this is the correct way.


  Commit: f21dcf0efe8d791a8312179135093b54ba0cb906
      https://github.com/wesnoth/wesnoth/commit/f21dcf0efe8d791a8312179135093b54ba0cb906
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-11-23 (Sun, 23 Nov 2014)

  Changed paths:
    M src/scripting/lua_rng.cpp

  Log Message:
  -----------
  complain more loudly about memory leaks


Compare: https://github.com/wesnoth/wesnoth/compare/3b1c52f3c823...f21dcf0efe8d


More information about the Commits mailing list