diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-15 17:32:52 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-15 17:32:52 -0300 |
commit | b49364f36cfdb6d540ac961102d7ffaf84279bb6 (patch) | |
tree | ca894cb0a6b0b51dfc8c73316319e2a714aac256 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 4a0982f941d6f2550e8c39bc8bb0984b50dddf36 (diff) |
objtool: Initialize variable to silence old compiler
gcc version 4.1.2 20080704 (Red Hat 4.1.2-55) barfs with:
CC /tmp/build/objtool/builtin-check.o
cc1: warnings being treated as errors
builtin-check.c: In function 'cmd_check':
builtin-check.c:667: warning: 'prev_rela' may be used uninitialized in this function
mv: cannot stat `/tmp/build/objtool/.builtin-check.o.tmp': No such file or directory
make[1]: *** [/tmp/build/objtool/builtin-check.o] Error 1
Init it to NULL to silence it.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions