]> git.ipfire.org Git - thirdparty/git.git/blobdiff - log-tree.c
log_tree_diff: get rid of extra check for NULL
[thirdparty/git.git] / log-tree.c
index c01932fa72bf32e4b5de401c64344f8bd509cb68..8ac285a25af58e73801263cb2ddd026ed6b7521d 100644 (file)
@@ -917,7 +917,7 @@ static int log_tree_diff(struct rev_info *opt, struct commit *commit, struct log
        }
 
        /* More than one parent? */
-       if (parents && parents->next) {
+       if (parents->next) {
                if (opt->ignore_merges)
                        return 0;
                else if (opt->combine_merges)