Module: kamailio
Branch: master
Commit: 745196cb59070f4922162d3fe60e825d92025548
URL:
https://github.com/kamailio/kamailio/commit/745196cb59070f4922162d3fe60e825…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-11-02T13:42:58+01:00
jansson: init structure to avoid compile warnings
(cherry picked from commit 852a82c330d5c73b6c402e519e3d6ec8ac610665)
---
Modified: modules/jansson/jansson_funcs.c
---
Diff:
https://github.com/kamailio/kamailio/commit/745196cb59070f4922162d3fe60e825…
Patch:
https://github.com/kamailio/kamailio/commit/745196cb59070f4922162d3fe60e825…
---
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 */