Skip to content

rfkill: Use sizeof instead of literal size#349

Merged
ryonakano merged 2 commits intomasterfrom
ryonakano/rfkill-use-sizeof
Aug 14, 2025
Merged

rfkill: Use sizeof instead of literal size#349
ryonakano merged 2 commits intomasterfrom
ryonakano/rfkill-use-sizeof

Conversation

@ryonakano
Copy link
Member

Unfortunately we can't seem to give variable names to sizeof() in Vala, but this should be better than literal from the view of readability of the code and possibility of size change of RFKillEvent in the future at least.

@ryonakano ryonakano merged commit ea3336b into master Aug 14, 2025
4 checks passed
@ryonakano ryonakano deleted the ryonakano/rfkill-use-sizeof branch August 14, 2025 06:57
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