Unmarked fallthroughs: disk/hdc_st506_xt.c.

This commit is contained in:
OBattler
2023-08-24 00:57:10 +02:00
parent 7f1c92f7d5
commit c548910ce7

View File

@@ -86,6 +86,7 @@
#include <86box/pic.h> #include <86box/pic.h>
#include <86box/hdc.h> #include <86box/hdc.h>
#include <86box/hdd.h> #include <86box/hdd.h>
#include <86box/plat_fallthrough.h>
#define ST506_XT_TYPE_XEBEC 0 #define ST506_XT_TYPE_XEBEC 0
#define ST506_XT_TYPE_WDXT_GEN 1 #define ST506_XT_TYPE_WDXT_GEN 1
@@ -671,6 +672,7 @@ st506_callback(void *priv)
st506_complete(dev); st506_complete(dev);
break; break;
} }
fallthrough;
case CMD_READ: case CMD_READ:
#if 0 #if 0
case CMD_READ_LONG: case CMD_READ_LONG:
@@ -770,6 +772,7 @@ st506_callback(void *priv)
st506_complete(dev); st506_complete(dev);
break; break;
} }
fallthrough;
case CMD_WRITE: case CMD_WRITE:
#if 0 #if 0
case CMD_WRITE_LONG: case CMD_WRITE_LONG: