Author: abrander
Date: 2013-03-30 19:14:38 +0100 (Sat, 30 Mar 2013)
New Revision: 4341

Modified:
   trunk/librawstudio/rs-filter.c
Log:
Made filter_performance() expand to some code, when FILTER_SHOW_PERFORMANCE if 
disabled (to allow for cases like "if (x) filter_performance();".

Modified: trunk/librawstudio/rs-filter.c
===================================================================
--- trunk/librawstudio/rs-filter.c      2013-03-30 18:09:23 UTC (rev 4340)
+++ trunk/librawstudio/rs-filter.c      2013-03-30 18:14:38 UTC (rev 4341)
@@ -25,7 +25,7 @@
 #define filter_performance printf
 #define FILTER_SHOW_PERFORMANCE
 #else
-#define filter_performance(...)
+#define filter_performance(...) {}
 #endif
 
 /* How much time should a filter at least have taken to show performance 
number */


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to