[Commits] [wesnoth/wesnoth] 54d996: Fix compile warning in clang

GitHub noreply at github.com
Thu Sep 24 14:03:56 UTC 2015


  Branch: refs/heads/sdl2
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 54d9965950c1cd584b1961ad028bb95151a0de63
      https://github.com/wesnoth/wesnoth/commit/54d9965950c1cd584b1961ad028bb95151a0de63
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-09-25 (Fri, 25 Sep 2015)

  Changed paths:
    M src/display.cpp
    M src/display.hpp

  Log Message:
  -----------
  Fix compile warning in clang

Clang is warning that the field is unused when SDL2 is enabled. This
fixes the warning by removing the field when the game is compiled with
SDL2.





More information about the Commits mailing list