[wesnoth-commits] [wesnoth/wesnoth] 1f81b0: replace a bad assert with VALIDATE

gfgtdf noreply at github.com
Mon Sep 28 12:20:35 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1f81b0fa24078dd3100626d307a8c9ff2e3f2ddc
      https://github.com/wesnoth/wesnoth/commit/1f81b0fa24078dd3100626d307a8c9ff2e3f2ddc
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M src/gui/widgets/generator.cpp

  Log Message:
  -----------
  replace a bad assert with VALIDATE

assert may only be used for cases that are guaranteed to be true for every possible input.





More information about the Commits mailing list