The status variable is not used. Remove it and avoid the warning from gcc. Signed-off-by: Darren Hart <dvhart@xxxxxxxxxxxxxxx> CC: Clark Williams <williams@xxxxxxxxxx> CC: John Kacur <jkacur@xxxxxxxxxx> --- src/pi_tests/pi_stress.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/pi_tests/pi_stress.c b/src/pi_tests/pi_stress.c index 0940567..b89dec8 100644 --- a/src/pi_tests/pi_stress.c +++ b/src/pi_tests/pi_stress.c @@ -596,10 +596,9 @@ void *reporter(void *arg) int verify_cpu(int cpu) { - int status; cpu_set_t mask; - status = sched_getaffinity(0, sizeof(cpu_set_t), &mask); + sched_getaffinity(0, sizeof(cpu_set_t), &mask); if (CPU_ISSET(cpu, &mask)) return SUCCESS; -- 1.7.6.5 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html