Mangle unused parameter names also on non-GCC platforms. This should help in situatio...
authorNathan Letwory <nathan@letworyinteractive.com>
Mon, 18 Oct 2010 20:32:11 +0000 (20:32 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Mon, 18 Oct 2010 20:32:11 +0000 (20:32 +0000)
unused tagged parameter after all, reminding the coder to remove the tag and check further.

source/blender/blenkernel/BKE_utildefines.h

index 33ab6c36b74c875cdfff89f14f1adb47cbb00ef0..8359bfdb01bb049d1640a23dd27e116b8d819e97 100644 (file)
@@ -49,7 +49,7 @@
 #ifdef __GNUC__
 #  define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
 #else
-#  define UNUSED(x) x
+#  define UNUSED(x) UNUSED_ ## x
 #endif
 
 /* these values need to be hardcoded in structs, dna does not recognize defines */