mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
server: mute compile warning without Redis
This commit is contained in:
parent
0cbbc18ca2
commit
71ead1af3b
1 changed files with 2 additions and 0 deletions
|
|
@ -1723,6 +1723,7 @@ static void free_sess_ticket(intptr_t ptr)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef ENABLE_REDIS
|
||||
static void free_redis_conn(intptr_t ptr)
|
||||
{
|
||||
if (ptr != CONN_POOL_FD_INVALID) {
|
||||
|
|
@ -1743,6 +1744,7 @@ static uint64_t db_listen_hash(conf_val_t *val)
|
|||
SipHash24_Update(&ctx, val->blob, val->blob_len);
|
||||
return SipHash24_End(&ctx);
|
||||
}
|
||||
#endif // ENABLE_REDIS
|
||||
|
||||
static int reconfigure_remote_pool(conf_t *conf, server_t *server)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue