[mod_v8] Fix C++ compile warning

This commit is contained in:
Norm Brandinger 2020-12-16 15:48:03 -05:00 committed by GitHub
parent 39fc5d4123
commit 7b841c048a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1242,7 +1242,8 @@ inline static void stream_write_safe_d(switch_stream_handle_t *stream, const cha
SWITCH_STANDARD_API(process_status_function)
{
char *mydata = NULL, *argv[3] = { 0 };
char *as = NULL, *output_text = NULL, *delim = ",";
const char *as = NULL, *delim = ",";
char *output_text = NULL;
cJSON *json = NULL, *row;
switch_xml_t xml = NULL, xml_row, xml_field;
int rows = 0, f_off = 0, count = 0;