From cf88fcaf3b04d57a7a0ff2ce6f47a0c7fb568152 Mon Sep 17 00:00:00 2001 From: tsj_2020 Date: Thu, 2 Dec 2021 17:47:43 +0800 Subject: [PATCH] IssueNo:#I4KUTY Description:fix the default file en-US find failed in localization Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: tsj_2020 --- frameworks/src/core/modules/presets/cjson_parser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/frameworks/src/core/modules/presets/cjson_parser.cpp b/frameworks/src/core/modules/presets/cjson_parser.cpp index 724ee36..3fc5ae6 100755 --- a/frameworks/src/core/modules/presets/cjson_parser.cpp +++ b/frameworks/src/core/modules/presets/cjson_parser.cpp @@ -541,7 +541,6 @@ jerry_value_t CJSONParser::GetValueFromFile(const char *key, jerry_value_t result = UNDEFINED; do { if (curJsonItem == nullptr) { - result = jerry_create_string(reinterpret_cast(key)); break; } if (cJSON_IsNumber(curJsonItem)) {