From: Luis de Bethencourt Date: Tue, 10 Mar 2015 16:42:44 +0000 (+0000) Subject: check: duplicate code branches X-Git-Tag: 1.16.2~706 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f89d6d7395376e3f891c1c0404a0585977a186c;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 e6b6469..f686ca0 100644 --- a/libs/gst/check/libcheck/check_run.c +++ b/libs/gst/check/libcheck/check_run.c @@ -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 */ - } + tr->rtype = CK_FAILURE; /* normal exit status */ } } }