diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-05-05 17:07:18 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2017-05-05 17:07:18 +0200 |
commit | 7344a4fdc6e9f9e4fdb6de9fe03dc73fef45c3e7 (patch) | |
tree | a174229faa05c299b39e7beed3114ea2f429f814 /src/test/test_options.c | |
parent | 60e97953ef4b139f4af3fbd71db664c03961f2eb (diff) | |
download | tor-7344a4fdc6e9f9e4fdb6de9fe03dc73fef45c3e7.tar.gz tor-7344a4fdc6e9f9e4fdb6de9fe03dc73fef45c3e7.zip |
Remove dead code in test_options_validate_impl().
Dead branch found by Coverity in CID #1405875.
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r-- | src/test/test_options.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c index d10a93305a..68e7ffc682 100644 --- a/src/test/test_options.c +++ b/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) { |