From: Srikar Dronamraju Date: Tue, 29 Jun 2010 17:32:26 +0000 (+0530) Subject: perf: Fix hist_entry__tui_annotate() build failure X-Git-Tag: v2.6.36-rc1~532^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0879b100f3c187257729f36cba33d96ec2875766;p=pandora-kernel.git perf: Fix hist_entry__tui_annotate() build failure When compiling perf on latest tip/master I see the following error: cc1: warnings being treated as errors util/newt.c: In function 'hist_entry__tui_annotate': util/newt.c:764: warning: 'ret' is used uninitialized in this function make: *** [util/newt.o] Error 1 I think the problem was introduced by commit 13f499f076c67675e6e3022973729b5d906a84e9 Below is a patch that fixes the problem. Signed-off-by: Srikar Dronamraju Cc: Arnaldo Carvalho de Melo LKML-Reference: <20100629173226.GC23231@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed