From: Luis de Bethencourt Date: Tue, 10 Mar 2015 16:42:44 +0000 (+0000) Subject: check: duplicate code branches X-Git-Tag: 1.6.1~504 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58f9c1dd71c953548d8c88a88ffb31b50b6e3696;p=platform%2Fupstream%2Fgstreamer.git check: duplicate code branches CID #1226446 --- diff --git a/libs/gst/check/libcheck/check_run.c b/libs/gst/check/libcheck/check_run.c index 433b365..c727052 100644 --- a/libs/gst/check/libcheck/check_run.c +++ b/libs/gst/check/libcheck/check_run.c @@ -535,11 +535,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 */ - } + tr->rtype = CK_FAILURE; /* normal exit status */ } } }