Browse Source

Merge branch 'rs/pack-objects-pbase-cleanup' into maint

Code clean-up.

* rs/pack-objects-pbase-cleanup:
  pack-objects: remove unnecessary NULL check
maint
Junio C Hamano 7 years ago
parent
commit
e22a48c4c0
  1. 2
      builtin/pack-objects.c

2
builtin/pack-objects.c

@ -1289,7 +1289,7 @@ static int done_pbase_path_pos(unsigned hash) @@ -1289,7 +1289,7 @@ static int done_pbase_path_pos(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)
return 1;
pos = -pos - 1;

Loading…
Cancel
Save