regressions: Mark the core variable as unused, to appease the compiler.

ck_pring
Olivier Houchard 11 years ago
parent e8b26ec212
commit 2b08211d60

@ -53,7 +53,7 @@ main(void)
#endif
uint64_t s_b, e_b, i;
int core = 0;
CK_CC_UNUSED int core = 0;
s_b = rdtsc();
for (i = 0; i < STEPS; ++i) {

@ -70,7 +70,7 @@ LOCK_DEFINE;
CK_CC_USED static void
gen_lock(void)
{
int core = 0;
CK_CC_UNUSED int core = 0;
#ifdef LOCK_STATE
LOCK_STATE;
#endif

Loading…
Cancel
Save