Skip to content

Commit e578565

Browse files
committed
Merge branch 'rs/pack-objects-pbase-cleanup'
Code clean-up. * rs/pack-objects-pbase-cleanup: pack-objects: remove unnecessary NULL check
2 parents 2c40c6a + c7b0780 commit e578565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/pack-objects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ static int done_pbase_path_pos(unsigned hash)
12891289

12901290
static int check_pbase_path(unsigned hash)
12911291
{
1292-
int pos = (!done_pbase_paths) ? -1 : done_pbase_path_pos(hash);
1292+
int pos = done_pbase_path_pos(hash);
12931293
if (0 <= pos)
12941294
return 1;
12951295
pos = -pos - 1;

0 commit comments

Comments
 (0)