Add attribute to suppress compiler warning if we don't use sets

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39907 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-06-22 14:34:50 +00:00
parent 2bd49d1917
commit d318deabb0

View file

@ -84,7 +84,8 @@ static NSException *testRaised __attribute__((unused)) = nil;
* 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; \