]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9779 fix compiler issue
authorBrian West <brian@freeswitch.org>
Thu, 1 Dec 2016 15:38:17 +0000 (09:38 -0600)
committerBrian West <brian@freeswitch.org>
Thu, 1 Dec 2016 15:38:31 +0000 (09:38 -0600)
src/mod/loggers/mod_raven/mod_raven.c

index 8b18fa6bc83faa254d2a4744222250d008871b92..5f5fd04cc60911d761cbee287e4fb4815dae8e3f 100644 (file)
@@ -119,7 +119,7 @@ static switch_status_t raven_capture(const char *userdata, const char *message,
 {
     cJSON* json, *fingerprint;
     char *raw_body;
-    char *encoded_body;
+    char *encoded_body = NULL;
     switch_time_t timestamp = switch_micro_time_now();
     switch_status_t status = SWITCH_STATUS_SUCCESS;
        char uuid[SWITCH_UUID_FORMATTED_LENGTH + 1];