BUILD: log: Fix compilation without SSL support
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 Oct 2021 09:58:05 +0000 (11:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 Oct 2021 10:00:15 +0000 (12:00 +0200)
commit52b28d2f30eb47529d12150697a0ad9c6189f9f1
tree2b4ac9c39e506c7389f9beb8dc8cdd9ef5fa8d59
parent16f16afb31367b948bbab9ae1f5f99ad6c6e7f3a
BUILD: log: Fix compilation without SSL support

When compiled without SSL support, a variable is reported as not used by
GCC.

src/log.c: In function ‘sess_build_logline’:
src/log.c:2056:36: error: unused variable ‘conn’ [-Werror=unused-variable]
 2056 |                 struct connection *conn;
      |                                    ^~~~

This does not need to be backported.
src/log.c