mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 01:10:47 -04:00
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:
parent
8bb4db5b0f
commit
210eb259bf
1 changed files with 0 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue