mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
blame.c return cleanup
Removes conditional from return Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
2de21fac98
commit
b4e275992f
5
blame.c
5
blame.c
|
@ -351,10 +351,7 @@ static int fill_util_info(struct commit *commit)
|
|||
assert(util);
|
||||
assert(util->pathname);
|
||||
|
||||
if (get_blob_sha1(commit->tree, util->pathname, util->sha1))
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
return !!get_blob_sha1(commit->tree, util->pathname, util->sha1);
|
||||
}
|
||||
|
||||
static void alloc_line_map(struct commit *commit)
|
||||
|
|
Loading…
Reference in a new issue