commit | 210eb259bfb2851c4af8ce7bd6f76ff68ce92661 | [log] [tgz] |
---|---|---|
author | Ilya Shipitsin <chipitsine@gmail.com> | Thu Mar 15 16:38:38 2018 +0500 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 19 12:09:16 2018 +0100 |
tree | 34d6cb9686935cae8551a4e603dad3ed1424c2e3 | |
parent | 8bb4db5b0fef4d7a1d3aa336990ab93248dea512 [diff] |
CLEANUP: dns: remove duplicate code in src/dns.c issue was identified by cppcheck [src/dns.c:2037] -> [src/dns.c:2041]: (warning) Variable 'appctx->st2' is reassigned a value before the old one has been used. 'break;' missing?
diff --git a/src/dns.c b/src/dns.c index c5bed59..5fe44d4 100644 --- a/src/dns.c +++ b/src/dns.c
@@ -2027,8 +2027,6 @@ si->flags |= SI_FL_WAIT_ROOM; return 0; } - - appctx->st2 = STAT_ST_FIN; /* fall through */ default: