mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01:00
Merge branch 'rs/pack-objects-pbase-cleanup' into maint
Code clean-up. * rs/pack-objects-pbase-cleanup: pack-objects: remove unnecessary NULL check
This commit is contained in:
commit
e22a48c4c0
1 changed files with 1 additions and 1 deletions
|
@ -1289,7 +1289,7 @@ static int done_pbase_path_pos(unsigned hash)
|
||||||
|
|
||||||
static int check_pbase_path(unsigned hash)
|
static int check_pbase_path(unsigned hash)
|
||||||
{
|
{
|
||||||
int pos = (!done_pbase_paths) ? -1 : done_pbase_path_pos(hash);
|
int pos = done_pbase_path_pos(hash);
|
||||||
if (0 <= pos)
|
if (0 <= pos)
|
||||||
return 1;
|
return 1;
|
||||||
pos = -pos - 1;
|
pos = -pos - 1;
|
||||||
|
|
Loading…
Reference in a new issue