[Commits] [wesnoth/wesnoth] e03204: Remove declaration causing an unused variable warn...
GitHub
noreply at github.com
Thu May 21 09:02:00 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: e0320406304f6bf1b04e4f5cf24763d115271893
https://github.com/wesnoth/wesnoth/commit/e0320406304f6bf1b04e4f5cf24763d115271893
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-05-21 (Thu, 21 May 2015)
Changed paths:
M src/unit_filter.cpp
Log Message:
-----------
Remove declaration causing an unused variable warning on gcc 5.1 (bug #23601)
It seems to have been meant to silence such a warning on some other
compiler/version, but this might not be necessary anymore since commit
07b6eeedb2f0326fbf33c9b5d9c25b570a65b88e adds the unused attribute to
some of the symbols generated by the MAKE_NUM macro.
At least I don't get a warning with gcc 4.9 or clang 3.4 this way.
More information about the Commits
mailing list