]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: map, stream: remove duplicate code in src/map.c, src/stream.c
authorIlya Shipitsin <chipitsine@gmail.com>
Fri, 23 Mar 2018 12:41:48 +0000 (17:41 +0500)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Mar 2018 17:00:09 +0000 (18:00 +0100)
commitf93f0935c91afdc0262645e7b85b6b2a9bd7b57b
treec17285ac2b58eeaf40829bd53882ebcc76225de6
parentfe234281d6cf0de8d16a630092a89c25b9fd27f7
CLEANUP: map, stream: remove duplicate code in src/map.c, src/stream.c

issue was identified by cppcheck

[src/map.c:372] -> [src/map.c:376]: (warning) Variable 'appctx->st2' is reassigned a value before the old one has been used. 'break;' missing?
[src/map.c:433] -> [src/map.c:437]: (warning) Variable 'appctx->st2' is reassigned a value before the old one has been used. 'break;' missing?
[src/map.c:555] -> [src/map.c:559]: (warning) Variable 'appctx->st2' is reassigned a value before the old one has been used. 'break;' missing?
[src/stream.c:3264] -> [src/stream.c:3268]: (warning) Variable 'appctx->st2' is reassigned a value before the old one has been used. 'break;' missing?

Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
src/map.c
src/stream.c