2.6.38.2 - perf - unused-but-set-variable

From: Thomas Meyer
Date: Sun Apr 03 2011 - 16:32:18 EST


$ make
CC bench/sched-pipe.o
bench/sched-pipe.c: In function 'bench_sched_pipe':
bench/sched-pipe.c:58:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make: *** [bench/sched-pipe.o] Error 1

gcc version 4.6.0 20110331 (Red Hat 4.6.0-2) (GCC)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/