1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Remove redundant Variant-types initializations

This commit is contained in:
Markus Sauermann
2022-11-14 18:21:06 +01:00
parent 963ffd8b94
commit 3b14f0334c
52 changed files with 118 additions and 118 deletions

View File

@@ -64,7 +64,7 @@ Size2 TextureButton::get_minimum_size() const {
bool TextureButton::has_point(const Point2 &p_point) const {
if (click_mask.is_valid()) {
Point2 point = p_point;
Rect2 rect = Rect2();
Rect2 rect;
Size2 mask_size = click_mask->get_size();
if (!_position_rect.has_area()) {