refactor: remove redundant assignments
This commit is contained in:
parent
c0fe31c5dd
commit
195833f1b6
@ -2605,10 +2605,8 @@ String *Item_func_json_merge_patch::val_str(String *str)
|
|||||||
if (json_read_value(&je2))
|
if (json_read_value(&je2))
|
||||||
goto error_return;
|
goto error_return;
|
||||||
if (je2.value_type == JSON_VALUE_OBJECT)
|
if (je2.value_type == JSON_VALUE_OBJECT)
|
||||||
{
|
|
||||||
merge_to_null= true;
|
|
||||||
goto cont_point;
|
goto cont_point;
|
||||||
}
|
|
||||||
merge_to_null= false;
|
merge_to_null= false;
|
||||||
str->set(js2->ptr(), js2->length(), js2->charset());
|
str->set(js2->ptr(), js2->length(), js2->charset());
|
||||||
goto cont_point;
|
goto cont_point;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user