check: duplicate code branches
authorLuis de Bethencourt <luis.bg@samsung.com>
Tue, 10 Mar 2015 16:42:44 +0000 (16:42 +0000)
committerLuis de Bethencourt <luis.bg@samsung.com>
Tue, 10 Mar 2015 16:42:48 +0000 (16:42 +0000)
CID #1226446

libs/gst/check/libcheck/check_run.c

index 433b365..c727052 100644 (file)
@@ -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 */
     }
   }
 }