Skip to content
Permalink
Browse files
refactor: remove redundant assignments
  • Loading branch information
Ziy1-Tan authored and cvicentiu committed Aug 9, 2022
1 parent c0fe31c commit 195833f
Showing 1 changed file with 1 addition and 3 deletions.
@@ -2605,10 +2605,8 @@ String *Item_func_json_merge_patch::val_str(String *str)
if (json_read_value(&je2))
goto error_return;
if (je2.value_type == JSON_VALUE_OBJECT)
{
merge_to_null= true;
goto cont_point;
}

merge_to_null= false;
str->set(js2->ptr(), js2->length(), js2->charset());
goto cont_point;

0 comments on commit 195833f

Please sign in to comment.