Make string constants const char * const (#2458)

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2018-08-10 21:08:49 +02:00
committed by László Langó
parent 81f37cf134
commit fb35e34801
5 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ jerryx_handler_print (const jerry_value_t func_obj_val, /**< function object */
(void) func_obj_val; /* unused */
(void) this_p; /* unused */
static const char *null_str = "\\u0000";
const char * const null_str = "\\u0000";
jerry_value_t ret_val = jerry_create_undefined ();