Skip to content

Commit

Permalink
Simplify return expression that is implied by loop invariant.
Browse files Browse the repository at this point in the history
  • Loading branch information
krobelus committed Sep 14, 2021
1 parent c53c7f6 commit fa49e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/argv.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ format_append_argv(struct format_context *format, const char ***dst_argv, const
if (!format_append_arg(format, dst_argv, src_argv[argc]))
return false;

return src_argv[argc] == NULL;
return true;
}

static bool
Expand Down

0 comments on commit fa49e75

Please sign in to comment.