From 1f89d6d7395376e3f891c1c0404a0585977a186c Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Tue, 10 Mar 2015 16:42:44 +0000 Subject: [PATCH] check: duplicate code branches CID #1226446 --- libs/gst/check/libcheck/check_run.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/gst/check/libcheck/check_run.c b/libs/gst/check/libcheck/check_run.c index e6b64692a6..f686ca097f 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 */ } } }