diff options
author | Jeff King <peff@peff.net> | 2025-01-22 19:36:13 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-01-22 17:52:44 -0800 |
commit | b224e8e36cf22df3c058990cfdd8c1d5c51fc5ae (patch) | |
tree | 4456c741ddeb550f53f92aed3fe14d4c6802316a /builtin/commit.c | |
parent | 71edf6c3c8161a2f102b69ca318ca1784ba29a58 (diff) |
path-walk: drop redundant parse_tree() call
This call to parse_tree() was flagged by Coverity for ignoring the
return value. But if we look a little further up the function, we can
see that there is already a call to parse_tree_gently(), and we'll
return early if that fails. So by this point the tree will always be
parsed, and the call is redundant.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions