X Tutup
Skip to content

Codestyle: Remove unused private variables in godot/editor#113706

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
lodetrick:unused-and-forgotten
Dec 9, 2025
Merged

Codestyle: Remove unused private variables in godot/editor#113706
akien-mga merged 1 commit intogodotengine:masterfrom
lodetrick:unused-and-forgotten

Conversation

@lodetrick
Copy link
Contributor

This PR removes unused private variables in the godot/editor folder that were declared in .h files and not in the corresponding .cpp file. As a conservative estimate it ignored files that had a friend class inside, just in case the variables were mentioned in another file.

I didn't attempt to look through the blame to see why each variable was removed, but I believe that if it is no longer referenced, it is better to remove now, and reinstate later if the functionality is desired.

@lodetrick lodetrick requested review from a team as code owners December 7, 2025 11:03
@lodetrick lodetrick requested review from a team December 7, 2025 11:03
@lodetrick lodetrick requested review from a team as code owners December 7, 2025 11:03
@aaronfranke aaronfranke added this to the 4.7 milestone Dec 7, 2025
@Repiteo Repiteo modified the milestones: 4.7, 4.6 Dec 8, 2025
@Repiteo Repiteo removed request for a team December 8, 2025 18:03
@akien-mga akien-mga merged commit 66b6ea4 into godotengine:master Dec 9, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

5 participants

X Tutup