Module: kamailio
Branch: master
Commit: 8cc21a5af0846ddd657b20363895e220658816ea
URL:
https://github.com/kamailio/kamailio/commit/8cc21a5af0846ddd657b20363895e22…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2024-12-20T16:36:12+08:00
tls: fix compiler warning of unused variable
---
Modified: src/modules/tls/tls_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8cc21a5af0846ddd657b20363895e22…
Patch:
https://github.com/kamailio/kamailio/commit/8cc21a5af0846ddd657b20363895e22…
---
diff --git a/src/modules/tls/tls_mod.c b/src/modules/tls/tls_mod.c
index 5d7c74f9249..1cc8a9540da 100644
--- a/src/modules/tls/tls_mod.c
+++ b/src/modules/tls/tls_mod.c
@@ -588,8 +588,6 @@ static OSSL_LIB_CTX *new_ctx;
#endif
static int mod_child(int rank)
{
- int k;
-
if(tls_disable || (tls_domains_cfg == 0))
return 0;