X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fperf%2Fbuiltin-evlist.c;h=acd78dc283411692f9e7e48b78085d9b5da63471;hb=2ecedc478e7a20597d95f48144cbe5ee568c0f1b;hp=e52d77ec7084e02e4fa318e873ff2cf1679a222d;hpb=ae32adc1e06d096399f195eeda12d443d53539c4;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"),