diff options
author | Luis de Bethencourt <luis.bg@samsung.com> | 2015-03-10 16:42:44 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-07-26 15:05:07 +0200 |
commit | 1f89d6d7395376e3f891c1c0404a0585977a186c (patch) | |
tree | fe994003ccaa71b834412a8d15337e13dc42220e /libs/gst | |
parent | 4c3092e07a4e03171649069f1a5f2bed5991d461 (diff) |
check: duplicate code branches
CID #1226446
Diffstat (limited to 'libs/gst')
-rw-r--r-- | libs/gst/check/libcheck/check_run.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/gst/check/libcheck/check_run.c b/libs/gst/check/libcheck/check_run.c index e6b64692a..f686ca097 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 */ } } } |