aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2009-06-03 21:48:40 +0200
committerIngo Molnar <[email protected]>2009-06-03 21:50:44 +0200
commit233f0b95ca3a0d1dcbd70bc7e519069a8e10d23e (patch)
treea227a79b15d489f6037d281feb0f84bdba391c4a /tools/perf/scripts/python
parent18374ab76e3ec1cf1b0ca5a8d08e35cfc5d01669 (diff)
perf_counter tools: Work around warnings in older GCCs
GCC 4.1.2 produces: util/parse-options.c: In function ‘get_value’: util/parse-options.c:36: warning: ‘arg’ may be used uninitialized in this function builtin-top.c: In function ‘display_thread’: builtin-top.c:178: warning: ‘printed’ may be used uninitialized in this function Annotate them away by initializing these variables to 0. Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Corey Ashford <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Thomas Gleixner <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions