Skip to content

Remove unused variable PopupMenu::parent_rect#78268

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
Sauermann:fix-remove-unused-variable
Jun 15, 2023
Merged

Remove unused variable PopupMenu::parent_rect#78268
akien-mga merged 1 commit intogodotengine:masterfrom
Sauermann:fix-remove-unused-variable

Conversation

@Sauermann
Copy link
Contributor

This private variable is not read anywhere.
Remove it and all places, where it is set.

@AThousandShips
Copy link
Member

Added breaks compat as it's part of the public API on the c++ side

@AThousandShips AThousandShips added this to the 4.x milestone Jun 15, 2023
@Sauermann Sauermann force-pushed the fix-remove-unused-variable branch from fe26d42 to cd0bda2 Compare June 15, 2023 09:53
@Sauermann
Copy link
Contributor Author

I have updated the PR to be no longer compatibility breaking. Please remove the label.

@akien-mga
Copy link
Member

I think it's fine to remove it, we don't guarantee compatibility for the public C++ API which isn't exposed to scripting and GDExtension (at least between minor versions).

@akien-mga akien-mga modified the milestones: 4.x, 4.1 Jun 15, 2023
This private variable is not read anywhere.
Remove it and all places, where it is set.
@Sauermann Sauermann force-pushed the fix-remove-unused-variable branch from cd0bda2 to 840e2b1 Compare June 15, 2023 10:09
@Sauermann
Copy link
Contributor Author

Sounds good, I have removed the function again.

@akien-mga akien-mga merged commit 6587a81 into godotengine:master Jun 15, 2023
@akien-mga
Copy link
Member

Thanks!

@Sauermann Sauermann deleted the fix-remove-unused-variable branch June 15, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants