]> git.baikalelectronics.ru Git - kernel.git/commit
perf test: Fix build failure
authorNamhyung Kim <namhyung.kim@lge.com>
Tue, 25 Sep 2012 02:20:28 +0000 (11:20 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Sep 2012 10:45:59 +0000 (07:45 -0300)
commitff1303b0b3480760098558abcedfb200bfe64c01
tree78f8fb0d2a998fc3823bf8f5d8baff9ac6074904
parent415c5cdd7e100555d47378ad2145f92d040903d2
perf test: Fix build failure

The commit bf402e60bf96 ("perf test: Add test for the sched tracepoint
format fields") added following build error:

    CC builtin-test.o
  builtin-test.c: In function ‘perf_evsel__test_field’:
  builtin-test.c:1216:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
  builtin-test.c: In function ‘perf_evsel__tp_sched_test’:
  builtin-test.c:1242:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
  cc1: all warnings being treated as errors
  make: *** [builtin-test.o] Error 1

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1348539628-3821-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-test.c