Skip to content

Commit 93f04d8

Browse files
joanaxcruzblapie
authored andcommitted
Update bench.h
1 parent abbc3ae commit 93f04d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libm-benchmarks/bench.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
for(int j=0;j<ITER;j++) { \
1212
type_in *p = (type_in *)(arg); \
1313
for(int i=0;i<N;i++){ \
14-
out = funcName(*p++); \
14+
__attribute__((unused)) type_out out = funcName(*p++); \
1515
} \
1616
} \
1717
uint64_t t1 = Sleef_currentTimeMicros(); \
@@ -26,7 +26,7 @@
2626
for(int j=0;j<ITER;j++) { \
2727
type_in *p1 = (type_in *)(arg1), *p2 = (type_in *)(arg2); \
2828
for(int i=0;i<N;i++){ \
29-
out = funcName(*p1++, *p2++); \
29+
__attribute__((unused)) type_out out = funcName(*p1++, *p2++); \
3030
} \
3131
} \
3232
uint64_t t1 = Sleef_currentTimeMicros(); \

0 commit comments

Comments
 (0)