Merge branch 'jk/still-interesting'

Code clean-up.

* jk/still-interesting:
  revision.c: remove unneeded check for NULL
maint
Junio C Hamano 2015-07-17 10:44:56 -07:00
commit fbdeabf1f0
1 changed files with 2 additions and 2 deletions

View File

@ -361,8 +361,8 @@ static int everybody_uninteresting(struct commit_list *orig,
list = list->next; list = list->next;
if (commit->object.flags & UNINTERESTING) if (commit->object.flags & UNINTERESTING)
continue; continue;
if (interesting_cache)
*interesting_cache = commit; *interesting_cache = commit;
return 0; return 0;
} }
return 1; return 1;