mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +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>
|
||||
|
||||
|
||||
#if defined(USE_SLZ) || defined(USE_ZLIB)
|
||||
#ifdef USE_THREAD
|
||||
static HA_SPINLOCK_T comp_pool_lock;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_ZLIB
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user