]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sg_inlines.h
Sound Manager: support subsystem reinit,
[simgear.git] / simgear / sg_inlines.h
index 5d47d594c8994ae629213d39822b7fddd58f6115..04df945e461067acfd76ebd97f4514bb47eb8efa 100644 (file)
@@ -98,6 +98,9 @@ inline void SG_NORMALIZE_RANGE( T &val, const T min, const T max ) {
     T step = max - min;
     while( val >= max )  val -= step;
     while( val < min ) val += step;
-};
+}
+
+// avoid an 'unused parameter' compiler warning.
+#define SG_UNUSED(x) (void)x
 
 #endif // _SG_INLINES_H