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

Intentional fallthroughs? #80

Open
r-barnes opened this issue Jul 30, 2024 · 0 comments
Open

Intentional fallthroughs? #80

r-barnes opened this issue Jul 30, 2024 · 0 comments

Comments

@r-barnes
Copy link

I'm just wondering if these fallthroughs are intentional (can we mark them with __attribute__((fallthrough))) or bugs (can we fix them with break)?

case 0x10: feature = 0x12; /* CACA_BACKGROUND_SOLID */

case 0x20: feature = 0x22; /* CACA_ANTIALIASING_PREFILTER */

case 0x30: feature = 0x33; /* CACA_DITHERING_ORDERED4 */

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

No branches or pull requests

1 participant