Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Warnings] Remove unnecessary member variables to save some memory #1793

Merged
merged 16 commits into from
Nov 21, 2024

Conversation

VeithMetro
Copy link
Contributor

@VeithMetro VeithMetro commented Nov 20, 2024

@HaseenaSainul discovered that the VARIABLE_IS_NOT_USED macro used on member variables can lead to the build error with GCC on Linux (buildroot).

Let's remove all unnecessary member variables and use ifdef to leave the other ones only when they are truly needed to save some memory

@VeithMetro VeithMetro changed the title [Warnings] Use the warning suppression instead of the variable is not used macro [Warnings] Remove unnecessary member variables to save some memory Nov 21, 2024
@VeithMetro VeithMetro merged commit 9b67a12 into master Nov 21, 2024
75 checks passed
@VeithMetro VeithMetro deleted the development/variable-not-used branch November 21, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants