Commit 76d2f062 authored by Alessandro Rubini's avatar Alessandro Rubini

tools: trivial: remove an ancient warning

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent c130bf6d
...@@ -124,9 +124,12 @@ int main(int argc, char **argv) ...@@ -124,9 +124,12 @@ int main(int argc, char **argv)
fprintf(stderr, fprintf(stderr,
"%s: expecting one non-optional argument: <filename>\n", "%s: expecting one non-optional argument: <filename>\n",
program); program);
return 1; error = 1;
} }
if (error)
return 1;
filename = argv[optind]; filename = argv[optind];
/* Confirm the filename exists */ /* Confirm the filename exists */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment