Module: kamailio
Branch: master
Commit: 5aa636bc94728db1284ac90e922d0a222d20d7c5
URL:
https://github.com/kamailio/kamailio/commit/5aa636bc94728db1284ac90e922d0a2…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-06-01T22:46:23+02:00
ss7ops: fix warning about uninitialized variable
---
Modified: src/modules/ss7ops/ss7ops_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5aa636bc94728db1284ac90e922d0a2…
Patch:
https://github.com/kamailio/kamailio/commit/5aa636bc94728db1284ac90e922d0a2…
---
diff --git a/src/modules/ss7ops/ss7ops_mod.c b/src/modules/ss7ops/ss7ops_mod.c
index 9a6b000e1b..54017381f4 100644
--- a/src/modules/ss7ops/ss7ops_mod.c
+++ b/src/modules/ss7ops/ss7ops_mod.c
@@ -327,6 +327,7 @@ static int ki_isup_to_json(sip_msg_t *_m, int proto)
srjson_DeleteDoc(isup_json);
isup_last = NULL;
isup_json = NULL;
+ mtp_type = 0;
data = fetch_payload(_m, "$var(payload)", &int_len);
if (!data)
@@ -744,4 +745,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
sr_kemi_modules_add(sr_kemi_ss7ops_exports);
return 0;
-}
\ No newline at end of file
+}