Skip to content

Commit fbdeabf

Browse files
committed
Merge branch 'jk/still-interesting'
Code clean-up. * jk/still-interesting: revision.c: remove unneeded check for NULL
2 parents 4d9f744 + ae40ebd commit fbdeabf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

revision.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ static int everybody_uninteresting(struct commit_list *orig,
361361
list = list->next;
362362
if (commit->object.flags & UNINTERESTING)
363363
continue;
364-
if (interesting_cache)
365-
*interesting_cache = commit;
364+
365+
*interesting_cache = commit;
366366
return 0;
367367
}
368368
return 1;

0 commit comments

Comments
 (0)