mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
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:
parent
2bd49d1917
commit
d318deabb0
1 changed files with 2 additions and 1 deletions
|
@ -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; \
|
||||
|
|
Loading…
Reference in a new issue