Commit e32db9f2 by Edward Thomson

cli: always give a value to `error`

parent 1327dbcf
......@@ -150,7 +150,7 @@ int cli_opt_help_fprint(
{
git_str help = GIT_BUF_INIT;
const cli_opt_spec *spec;
int error;
int error = 0;
/* Display required arguments first */
for (spec = specs; spec->type; ++spec) {
......
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