Module: kamailio
Branch: 4.4
Commit: 852a82c330d5c73b6c402e519e3d6ec8ac610665
URL:
https://github.com/kamailio/kamailio/commit/852a82c330d5c73b6c402e519e3d6ec…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-11-02T13:41:59+01:00
jansson: init structure to avoid compile warnings
---
Modified: modules/jansson/jansson_funcs.c
---
Diff:
https://github.com/kamailio/kamailio/commit/852a82c330d5c73b6c402e519e3d6ec…
Patch:
https://github.com/kamailio/kamailio/commit/852a82c330d5c73b6c402e519e3d6ec…
---
diff --git a/modules/jansson/jansson_funcs.c b/modules/jansson/jansson_funcs.c
index 5498789..e99eb64 100644
--- a/modules/jansson/jansson_funcs.c
+++ b/modules/jansson/jansson_funcs.c
@@ -135,7 +135,7 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char*
type_in,
json_t* result_json = NULL;
json_t* value = NULL;
char* freeme = NULL;
- json_error_t parsing_error;
+ json_error_t parsing_error = {0};
char* endptr;
/* check the type */