Module: kamailio
Branch: master
Commit: b7815d04ced35d5b5ccbcdaa39d41ef4a2cb2ad0
URL:
https://github.com/kamailio/kamailio/commit/b7815d04ced35d5b5ccbcdaa39d41ef…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-01-11T08:41:35+01:00
avpops: init variable to fix warning
---
Modified: src/modules/avpops/avpops_impl.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b7815d04ced35d5b5ccbcdaa39d41ef…
Patch:
https://github.com/kamailio/kamailio/commit/b7815d04ced35d5b5ccbcdaa39d41ef…
---
diff --git a/src/modules/avpops/avpops_impl.c b/src/modules/avpops/avpops_impl.c
index 8a6e4c2b2d..28f270fe17 100644
--- a/src/modules/avpops/avpops_impl.c
+++ b/src/modules/avpops/avpops_impl.c
@@ -505,7 +505,7 @@ int ops_dbstore_avps (struct sip_msg* msg, struct fis_param *sp,
avp_list_t avp_list;
struct usr_avp *avp;
unsigned short name_type;
- int_str avp_name;
+ int_str avp_name = {0};
int_str i_s;
str uuid;
int keys_nr;