From: Ramkumar Ramachandra Date: Sun, 08 Sep 2013 22:42:40 GMT Subject: [PATCH] sequencer: trivial cleanup Message-ID: <1378680160-4720-1-git-send-email-artagnon@gmail.com> Signed-off-by: Ramkumar Ramachandra --- sequencer.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sequencer.c b/sequencer.c index 351548f..8ed9f98 100644 --- a/sequencer.c +++ b/sequencer.c @@ -466,10 +466,7 @@ static int allow_empty(struct replay_opts *opts, struct commit *commit) empty_commit = is_original_commit_empty(commit); if (empty_commit < 0) return empty_commit; - if (!empty_commit) - return 0; - else - return 1; + return empty_commit ? 0 : 1; } static int do_pick_commit(struct commit *commit, struct replay_opts *opts) -- 1.8.4.100.gde18f6d.dirty