### Godot version

31eccb5501

### System information

Windows 10

### Issue description

Some strange code fragments found in the code. I do not know if these are actual bugs.

1. Identical expression `array->get_typed_class_name() == native_type` on both sides of `&&` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L777
2. Identical expression `array->get_typed_class_name() != native_type` on both sides of `||` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L1255
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L1255
3. Identical expression `pose.orientation.y != 0` on both sides of `||` operator (perhaps one of these should be `pose.orientation.z != 0`?):
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/openxr/scene/openxr_hand.cpp#L219
4. Identical expression `a.lower` on both sides of `-` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/thirdparty/embree/kernels/bvh/bvh_node_obb_mb.h#L55
5. Identical expression `font_main.is_valid()` on both sides of `&&` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/editor/import/dynamic_font_import_settings.cpp#L861
6. Identical expression `bold_font.is_valid()` on both sides of `&&` operator:
7. https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/editor/import/dynamic_font_import_settings.cpp#L1095
8. Variable `scansym_map[0x57]` assigned twice:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/platform/windows/key_mapping_windows.cpp#L318-L319
9. 'if'-statement is equivalent to the 'else'-statement:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/scene/resources/text_paragraph.cpp#L496-L500
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/scene/resources/text_paragraph.cpp#L646-L650
10. Shouldn't `sizeof(long_filename_buff)` be replaced with `file_info.size_filename` since `sizeof(long_filename_buff)` is the size of the pointer and not the buffer?:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/zip/zip_reader.cpp#L69-L70

### Steps to reproduce

N/A

### Minimal reproduction project

N/A
page2_side_vb->add_child(page2_hb_vars);
	label_vars = memnew(Label);
	page2_hb_vars->add_child(label_vars);
	label_vars->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
	label_vars->set_h_size_flags(Control::SIZE_EXPAND_FILL);
	label_vars->set_text(TTR("Configuration:"));
	add_var = memnew(Button);
	page2_hb_vars->add_child(add_var);
	add_var->set_tooltip_text(TTR("Add configuration"));
	add_var->connect("pressed", callable_mp(this, &DynamicFontImportSettings::_variation_add));
	vars_list = memnew(Tree);
	page2_side_vb->add_child(vars_list);
	vars_list->set_custom_minimum_size(Size2(300 * EDSCALE, 0));
	vars_list->set_hide_root(true);
	vars_list->set_columns(2);
	vars_list->set_column_expand(0, true);
	vars_list->set_column_custom_minimum_width(0, 80 * EDSCALE);
	vars_list->set_column_expand(1, false);
	vars_list->set_column_custom_minimum_width(1, 50 * EDSCALE);
	vars_list->connect("item_selected", callable_mp(this, &DynamicFontImportSettings::_variation_selected));
	vars_list->connect("button_clicked", callable_mp(this, &DynamicFontImportSettings::_variation_remove));
	vars_list->set_v_size_flags(Control::SIZE_EXPAND_FILL);
	inspector_vars = memnew(EditorInspector);
	inspector_vars->set_v_size_flags(Control::SIZE_EXPAND_FILL);
	inspector_vars->connect("property_edited", callable_mp(this, &DynamicFontImportSettings::_variation_changed));
	page2_side_vb->add_child(inspector_vars);
	VBoxContainer *preload_pages_vb = memnew(VBoxContainer);
	page2_hb->add_child(preload_pages_vb);
	preload_pages = memnew(TabContainer);
	preload_pages->set_tab_alignment(TabBar::ALIGNMENT_CENTER);