Module: kamailio Branch: master Commit: 522c338abff05634b6eff2a50e2827abf748902c URL: https://github.com/kamailio/kamailio/commit/522c338abff05634b6eff2a50e2827ab...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: GitHub noreply@github.com Date: 2018-10-03T09:16:15+02:00
Merge pull request #1664 from mslehto/Wsometimes_uninitialized
sipcapture: initialize variable
---
Modified: src/modules/sipcapture/sipcapture.c
---
Diff: https://github.com/kamailio/kamailio/commit/522c338abff05634b6eff2a50e2827ab... Patch: https://github.com/kamailio/kamailio/commit/522c338abff05634b6eff2a50e2827ab...
---
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c index bb3332b26f..327e4e110f 100644 --- a/src/modules/sipcapture/sipcapture.c +++ b/src/modules/sipcapture/sipcapture.c @@ -2499,7 +2499,8 @@ int receive_logging_json_msg(char *buf, unsigned int len, struct timezone tz; time_t epoch_time_as_time_t;
- str tmp, corrtmp, table; + str tmp, table; + str corrtmp = STR_NULL; _capture_mode_data_t *c = NULL;
c = capture_def;