mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 09:07:02 +02:00
BUG/MINOR: comp: fix compilation warning compiling without compression.
This is specific to threads, no backport is needed.
This commit is contained in:
parent
d8b3b65faa
commit
11f5886e5c
@ -41,9 +41,11 @@
|
|||||||
#include <proto/stream.h>
|
#include <proto/stream.h>
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(USE_SLZ) || defined(USE_ZLIB)
|
||||||
#ifdef USE_THREAD
|
#ifdef USE_THREAD
|
||||||
static HA_SPINLOCK_T comp_pool_lock;
|
static HA_SPINLOCK_T comp_pool_lock;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_ZLIB
|
#ifdef USE_ZLIB
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user