diff options
author | Luis de Bethencourt <luis.bg@samsung.com> | 2015-03-10 16:42:44 +0000 |
---|---|---|
committer | Luis de Bethencourt <luis.bg@samsung.com> | 2015-03-10 16:42:48 +0000 |
commit | 58f9c1dd71c953548d8c88a88ffb31b50b6e3696 (patch) | |
tree | c0a4032634fe24b7a64dde2f5d1f365ce2ca55a6 | |
parent | bd7d1c8b618e21f02b0f01fca652c281d1b9fcfd (diff) |
check: duplicate code branches
CID #1226446
-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 433b3658b..c72705254 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 */ } } } |