From: Ingo Molnar Date: Thu, 12 Sep 2013 13:16:49 +0000 (+0200) Subject: perf tools: Fix old GCC build error in trace-event-parse.c:parse_proc_kallsyms() X-Git-Tag: v3.12-rc3~30^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f9654296eabf7f238661d20a6af545986cf713f;p=pandora-kernel.git perf tools: Fix old GCC build error in trace-event-parse.c:parse_proc_kallsyms() Old GCC (4.1) does not see through the code flow of parse_proc_kallsyms() and gets confused about the status of 'fmt': util/trace-event-parse.c: In function ‘parse_proc_kallsyms’: util/trace-event-parse.c:189: warning: ‘fmt’ may be used uninitialized in this function make: *** [util/trace-event-parse.o] Error 1 Help out GCC by initializing 'fmt' to NULL. Signed-off-by: Ingo Molnar Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: H. Peter Anvin Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20130912131649.GC23826@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed