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?
This commit is contained in:
Ilya Shipitsin 2018-03-15 16:38:38 +05:00 committed by Willy Tarreau
parent 8bb4db5b0f
commit 210eb259bf

View File

@ -2027,8 +2027,6 @@ static int cli_io_handler_dump_resolvers_to_buffer(struct appctx *appctx)
si->flags |= SI_FL_WAIT_ROOM;
return 0;
}
appctx->st2 = STAT_ST_FIN;
/* fall through */
default: