Module: kamailio
Branch: master
Commit: 0f1b970ae7f47478649b61a8dc43fe42714b2a95
URL:
https://github.com/kamailio/kamailio/commit/0f1b970ae7f47478649b61a8dc43fe4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-12-17T20:34:35+01:00
cplc: init var to avoid compile warning
---
Modified: src/modules/cplc/cpl_run.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0f1b970ae7f47478649b61a8dc43fe4…
Patch:
https://github.com/kamailio/kamailio/commit/0f1b970ae7f47478649b61a8dc43fe4…
---
diff --git a/src/modules/cplc/cpl_run.c b/src/modules/cplc/cpl_run.c
index dd82d9868b..768f6b3d4a 100644
--- a/src/modules/cplc/cpl_run.c
+++ b/src/modules/cplc/cpl_run.c
@@ -413,7 +413,7 @@ static inline char *run_remove_location( struct cpl_interpreter *intr
)
unsigned short attr_name;
unsigned short n;
char *p;
- str url;
+ str url = STR_NULL;
int i;
url.s = (char*)UNDEF_CHAR;