perf tools: Fix a compiling error in util/map.c
authorFeng Tang <feng.tang@intel.com>
Mon, 27 Aug 2012 07:38:26 +0000 (15:38 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Sep 2012 11:36:34 +0000 (08:36 -0300)
commit8f28f19a87cb48d13570ba774a3e85776eb36bb4
tree7dc643cce7503e5eac7667e635147439d65b2de6
parentb1ab1bd1921536c2a97adb888effeff4370a3246
perf tools: Fix a compiling error in util/map.c

This patch fix a compile warning taken as error:

CC util/map.o
cc1: warnings being treated as errors
util/map.c: In function ‘map__fprintf_dsoname’:
util/map.c:240: error: ‘dsoname’ may be used uninitialized in this function
make: *** [util/map.o] Error 1

Signed-off-by: Feng Tang <feng.tang@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1346053107-11946-3-git-send-email-feng.tang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/map.c