check: duplicate code branches
authorLuis de Bethencourt <luis.bg@samsung.com>
Tue, 10 Mar 2015 16:42:44 +0000 (16:42 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 26 Jul 2017 13:05:07 +0000 (15:05 +0200)
CID #1226446

libs/gst/check/libcheck/check_run.c

index e6b6469..f686ca0 100644 (file)
@@ -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 */
     }
   }
 }