]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_v8] Fix C++ compile warning
authorNorm Brandinger <n.brandinger@gmail.com>
Wed, 16 Dec 2020 20:48:03 +0000 (15:48 -0500)
committerGitHub <noreply@github.com>
Wed, 16 Dec 2020 20:48:03 +0000 (00:48 +0400)
src/mod/languages/mod_v8/mod_v8.cpp

index 6c2133c0c4a48cd5889101d33decb67dca920d25..c05991529196453b502bf1961ad9add3f89031cf 100644 (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;