]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: Remove unused case statement during the log-format string parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 6 Jul 2020 17:03:25 +0000 (19:03 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 Jul 2020 12:28:43 +0000 (14:28 +0200)
commitb4174d5a793a209c8066231ba40c5727626d88fa
tree4312b2e18cadf6419dd2669f5df260a8b60ed7a3
parent67a8271cc77a625ebfb2c7fe094551f809d6e6ab
MINOR: log: Remove unused case statement during the log-format string parsing

Since the commit cd0d2ed6e ("MEDIUM: log-format: make the LF parser aware of
sample expressions' end"), the LF_STEXPR label in the last switch-case statement
at the end of the for loop in the parse_logformat_string() function cannot be
reached anymore.

This patch should fix the issue #723.
src/log.c