X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=tools%2Fperf%2Fbuiltin-evlist.c;h=acd78dc283411692f9e7e48b78085d9b5da63471;hb=c8912f2be34dc95508b3f870b129cd82524a9761;hp=e52d77ec7084e02e4fa318e873ff2cf1679a222d;hpb=0708500d49e8439d9fe5529795bdc1485f0f46c3;p=~andy%2Flinux diff --git a/tools/perf/builtin-evlist.c b/tools/perf/builtin-evlist.c index e52d77ec708..acd78dc2834 100644 --- a/tools/perf/builtin-evlist.c +++ b/tools/perf/builtin-evlist.c @@ -116,7 +116,7 @@ static const char * const evlist_usage[] = { int cmd_evlist(int argc, const char **argv, const char *prefix __used) { struct perf_attr_details details = { .verbose = false, }; - const char *input_name; + const char *input_name = NULL; const struct option options[] = { OPT_STRING('i', "input", &input_name, "file", "Input file name"),