diff options
-rw-r--r-- | tools/perf/perf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c index 31c9380cfa64..85e1aed95204 100644 --- a/tools/perf/perf.c +++ b/tools/perf/perf.c | |||
@@ -518,9 +518,8 @@ int main(int argc, const char **argv) | |||
518 | 518 | ||
519 | while (1) { | 519 | while (1) { |
520 | static int done_help; | 520 | static int done_help; |
521 | static int was_alias; | 521 | int was_alias = run_argv(&argc, &argv); |
522 | 522 | ||
523 | was_alias = run_argv(&argc, &argv); | ||
524 | if (errno != ENOENT) | 523 | if (errno != ENOENT) |
525 | break; | 524 | break; |
526 | 525 | ||