perf tools: Fix compile error on NO_NEWT=1 build
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 12 Nov 2012 05:14:00 +0000 (14:14 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 14 Nov 2012 19:50:58 +0000 (16:50 -0300)
commit4f746c95f18ad4d85599d9c157da7e6da766c3d9
treee79ab1c991267831530a90d9e87edad85570dd33
parent30193d78d82a68247aa628a2414dc0f76c5b8093
perf tools: Fix compile error on NO_NEWT=1 build

    CC builtin-annotate.o
In file included from util/evsel.h:10:0,
                 from util/evlist.h:8,
                 from builtin-annotate.c:20:
util/hist.h: In function ‘script_browse’:
util/hist.h:198:45: error: unused parameter ‘script_opt’ [-Werror=unused-parameter]
cc1: all warnings being treated as errors
make: *** [builtin-annotate.o] Error 1
make: *** Waiting for unfinished jobs....

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Feng Tang <feng.tang@intel.com>
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/1352697240-422-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.h