[wesnoth-commits] [wesnoth/wesnoth] 22f0a8: Fix Coverity 1386194 Initialize class member

GitHub noreply at github.com
Sun Mar 18 22:06:22 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 22f0a89a647a017cbe0d94ac316c6928f0bd9a79
      https://github.com/wesnoth/wesnoth/commit/22f0a89a647a017cbe0d94ac316c6928f0bd9a79
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2018-03-18 (Sun, 18 Mar 2018)

  Changed paths:
    M src/hash.hpp

  Log Message:
  -----------
  Fix Coverity 1386194 Initialize class member

Only a problem if stuff is not done in the expected order. Initialize to zero so at least things go wrong but they don't go wildly wrong.




More information about the Commits mailing list