Fix clang build failure

This commit is contained in:
Jasmine Iwanek
2023-07-26 10:57:01 -04:00
parent 937cadf054
commit d2f42198fd
47 changed files with 119 additions and 68 deletions

View File

@@ -338,7 +338,7 @@ esdi_write(uint16_t port, uint8_t val, void *priv)
esdi->command &= ~0x03;
if (val & 0x02)
fatal("Read with ECC\n");
#ifndef __APPLE__
#ifdef FALLTHROUGH_ANNOTATION
[[fallthrough]];
#endif
@@ -399,7 +399,7 @@ esdi_write(uint16_t port, uint8_t val, void *priv)
default:
esdi_at_log("WD1007: bad command %02X\n", val);
#ifndef __APPLE__
#ifdef FALLTHROUGH_ANNOTATION
[[fallthrough]];
#endif
case 0xe8: /*???*/