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

Clean up MachRegister class #1604

Merged
merged 8 commits into from
Oct 30, 2023
Merged

Clean up MachRegister class #1604

merged 8 commits into from
Oct 30, 2023

Conversation

hainest
Copy link
Contributor

@hainest hainest commented Oct 29, 2023

This fixes several linter issues with the switches and tidies up some dead code.

This is semantically equivalent, but fixes the 'incomplete without
default' linter warning.
I don't know if it's correct to assert in these conditions. This is
semantically equivalent, fixes the 'incomplete without default' linter
warning, and avoids asserting.
This makes them all consisent and fixes the 'incomplete without default'
linter warning.
I left the commented-out switch cases. I'm not sure why they aren't
used.
It was never implemented.
@hainest hainest added the code cleanup Bring the code up to modern standards or remove deprecated features label Oct 29, 2023
@hainest hainest requested a review from kupsch October 29, 2023 04:27
@hainest hainest self-assigned this Oct 29, 2023
@hainest hainest merged commit 895520f into master Oct 30, 2023
@hainest hainest deleted the thaines/cleanup_MachRegister branch October 30, 2023 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Bring the code up to modern standards or remove deprecated features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants