diff --git a/include/mapfile.h b/include/mapfile.h index d5f8b735..cdb4eae5 100644 --- a/include/mapfile.h +++ b/include/mapfile.h @@ -27,13 +27,7 @@ #include "iscenegraph.h" #include "generic/callbackfwd.h" -#ifdef __GNUC__ -#define VARIABLE_IS_NOT_USED __attribute__ ((unused)) -#else -#define VARIABLE_IS_NOT_USED -#endif - -const std::size_t VARIABLE_IS_NOT_USED MAPFILE_MAX_CHANGES = std::numeric_limits::max(); +const std::size_t MAPFILE_MAX_CHANGES = std::numeric_limits::max(); class MapFile { diff --git a/libs/math/aabb.h b/libs/math/aabb.h index 21cf988c..49fdbfb3 100644 --- a/libs/math/aabb.h +++ b/libs/math/aabb.h @@ -245,13 +245,7 @@ inline void aabb_planes_oriented( const AABB& aabb, const Matrix4& rotation, Pla planes[5] = Plane3( -vector4_to_vector3( rotation.z() ), -( z - aabb.extents[2] ) ); } -#ifdef __GNUC__ -#define VARIABLE_IS_NOT_USED __attribute__ ((unused)) -#else -#define VARIABLE_IS_NOT_USED -#endif - -const Vector3 VARIABLE_IS_NOT_USED aabb_normals[6] = { +const Vector3 aabb_normals[6] = { Vector3( 1, 0, 0 ), Vector3( 0, 1, 0 ), Vector3( 0, 0, 1 ),