From: Mike Galbraith Date: Tue, 2 Jun 2009 09:04:44 +0000 (+0200) Subject: perf_counter tools: Fix uninitialized variable in perf-report.c X-Git-Tag: v2.6.31-rc1~383^2~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10a2825514a988225ac2e336c7a9502c4ca57c39;p=pandora-kernel.git perf_counter tools: Fix uninitialized variable in perf-report.c # make prefix=/usr/local V=1 gcc -o builtin-report.o -c -O2 -ggdb3 -Wall -Werror -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -std=gnu99 -Wdeclaration-after-statement -DSHA1_HEADER='' builtin-report.c cc1: warnings being treated as errors builtin-report.c: In function ‘__cmd_report’: builtin-report.c:626: error: ‘cwdlen’ may be used uninitialized in this function Signed-off-by: Mike Galbraith Cc: Peter Zijlstra Signed-off-by: Ingo Molnar LKML-Reference: --- Reading git-diff-tree failed