cacalabs/libcaca

Intentional fallthroughs?

r-barnes opened this issue · 0 comments

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 */