Author: rfm Date: Wed Jun 22 16:34:50 2016 New Revision: 39907 URL: http://svn.gna.org/viewcvs/gnustep?rev=39907&view=rev Log: Add attribute to suppress compiler warning if we don't use sets
Modified: tools/make/trunk/TestFramework/Testing.h Modified: tools/make/trunk/TestFramework/Testing.h URL: http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/TestFramework/Testing.h?rev=39907&r1=39906&r2=39907&view=diff ============================================================================== --- tools/make/trunk/TestFramework/Testing.h (original) +++ tools/make/trunk/TestFramework/Testing.h Wed Jun 22 16:34:50 2016 @@ -84,7 +84,8 @@ * The SET_TIMER() macro turns on/off timing and, if timeing was * already on, adds the time of the current period to the duration. */ -static void (*setEnded)(const char *name, BOOL completed, double duration) = 0; +static void (*setEnded)(const char *name, BOOL completed, double duration) + __attribute__((unused)) = 0; #define SET_TIMER(active) \ ({ \ double started = _setTiming; \ _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs