Module: kamailio
Branch: master
Commit: 8558947034f16b162c15eda39d18f5f5df4ef562
URL:
https://github.com/kamailio/kamailio/commit/8558947034f16b162c15eda39d18f5f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-04-28T23:29:22+02:00
ims_registrar_scscf: init variable to fix analyzer warning
---
Modified: src/modules/ims_registrar_scscf/lookup.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8558947034f16b162c15eda39d18f5f…
Patch:
https://github.com/kamailio/kamailio/commit/8558947034f16b162c15eda39d18f5f…
---
diff --git a/src/modules/ims_registrar_scscf/lookup.c
b/src/modules/ims_registrar_scscf/lookup.c
index 836ce9ca11b..99707dae0ce 100644
--- a/src/modules/ims_registrar_scscf/lookup.c
+++ b/src/modules/ims_registrar_scscf/lookup.c
@@ -334,7 +334,7 @@ int term_impu_has_contact(struct sip_msg *_m, udomain_t *_d, char
*_s)
str aor, uri;
ucontact_t *ptr = 0;
int res;
- int ret;
+ int ret = -1;
impu_contact_t *impucontact;