]> git.mxchange.org Git - simgear.git/commit
Add an SG_UNUSED macro to SimGear.
authorJames Turner <zakalawe@mac.com>
Sun, 16 Sep 2012 15:25:11 +0000 (16:25 +0100)
committerJames Turner <zakalawe@mac.com>
Sun, 16 Sep 2012 15:25:11 +0000 (16:25 +0100)
commit12f85b3d1f714470317f0354a54fcc35bbd000b6
tree6beed1b42999825612c7f02710e77c57e061a462
parent47d88bcfa759d18114ad41acb708763680fb1520
Add an SG_UNUSED macro to SimGear.

Imitate Q_UNSUED from Qt, and provide a Simgear 'unused var' warning suppression macro. Fix up one place where the previous warning suppression attempt (assigning to self) was still producing a warning under clang.
simgear/math/SGGeodesy.cxx
simgear/sg_inlines.h