summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/tests.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2015-05-29 09:48:13 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-05-29 12:43:40 -0300
commitb236512280fb96dcca45a3f5bbae1839bd673e58 (patch)
tree012165e3a70a50828682fdcb851dcc983d1d1834 /tools/perf/tests/tests.h
parent427cde3287f2c6349f308d0e22c9223f9ea05ef1 (diff)
downloadlinux-b236512280fb96dcca45a3f5bbae1839bd673e58.tar.bz2
perf kmem: Fix compiler warning about may be accessing uninitialized variable
The last argument to strtok_r doesn't need to be initialized, its just a placeholder to make this routine reentrant, but gcc doesn't know about that and complains, breaking the build, fix it by setting it to NULL. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/n/tip-8e8rgbg3aom9uarsyqjrsctg@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/tests.h')
0 files changed, 0 insertions, 0 deletions