From: Ingo Molnar Date: Wed, 3 Jun 2009 19:48:40 +0000 (+0200) Subject: perf_counter tools: Work around warnings in older GCCs X-Git-Tag: v2.6.31-rc1~383^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=233f0b95ca3a0d1dcbd70bc7e519069a8e10d23e;p=pandora-kernel.git 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 Cc: Mike Galbraith Cc: Paul Mackerras Cc: Corey Ashford Cc: Marcelo Tosatti Cc: Arnaldo Carvalho de Melo Cc: Thomas Gleixner LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed