Browse Source

Remove dead code in test_options_validate_impl().

Dead branch found by Coverity in CID #1405875.
Alexander Færøy 7 years ago
parent
commit
7344a4fdc6
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/test/test_options.c

+ 0 - 2
src/test/test_options.c

@@ -187,8 +187,6 @@ test_options_validate_impl(const char *configuration,
       goto done;
   }
   tt_int_op((r == 0), OP_EQ, (msg == NULL));
-  if (r)
-    goto done;
 
   r = config_assign(&options_format, opt, cl, 0, &msg);
   if (phase == PH_ASSIGN) {