sequencer: avoid unnecessary curly braces
[gitweb.git] / sequencer.c
index 9adb7bbf1d4815d9e4f67b66e90c9ec327b2fb72..23793db08b674d966b69b68e1f4c431cdcda4c2d 100644 (file)
@@ -632,9 +632,8 @@ static int do_pick_commit(enum todo_command command, struct commit *commit,
        }
        discard_cache();
 
-       if (!commit->parents) {
+       if (!commit->parents)
                parent = NULL;
-       }
        else if (commit->parents->next) {
                /* Reverting or cherry-picking a merge commit */
                int cnt;