check: duplicate code branches

CID #1226446
This commit is contained in:
Luis de Bethencourt 2015-03-10 16:42:44 +00:00 committed by Edward Hervey
parent 4c3092e07a
commit 1f89d6d739

View file

@ -582,11 +582,7 @@ set_fork_info (TestResult * tr, int status, int signal_expected,
free (tr->msg);
}
tr->msg = exit_msg (exit_status);
if (exit_status == allowed_exit_value) {
tr->rtype = CK_FAILURE; /* normal exit status */
} else {
tr->rtype = CK_FAILURE; /* early exit */
}
}
}
}