diff options
Diffstat (limited to 'tools/perf/builtin-kvm.c')
-rw-r--r-- | tools/perf/builtin-kvm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index ca3f80ebc100..37a769d7f9fe 100644 --- a/tools/perf/builtin-kvm.c +++ b/tools/perf/builtin-kvm.c | |||
@@ -973,8 +973,7 @@ __cmd_buildid_list(const char *file_name, int argc, const char **argv) | |||
973 | 973 | ||
974 | int cmd_kvm(int argc, const char **argv, const char *prefix __maybe_unused) | 974 | int cmd_kvm(int argc, const char **argv, const char *prefix __maybe_unused) |
975 | { | 975 | { |
976 | const char *file_name; | 976 | const char *file_name = NULL; |
977 | |||
978 | const struct option kvm_options[] = { | 977 | const struct option kvm_options[] = { |
979 | OPT_STRING('i', "input", &file_name, "file", | 978 | OPT_STRING('i', "input", &file_name, "file", |
980 | "Input file name"), | 979 | "Input file name"), |