1
0
Fork 0
forked from len0rd/rockbox

Document intentional fallthroughs + fix harmless unintended ones

Change-Id: I1ca5b1027ec30cbf61093bab35b980196ed14e6b
This commit is contained in:
Aidan MacDonald 2021-07-24 15:39:01 +01:00
parent ef41cc6623
commit 005c414e5f
24 changed files with 36 additions and 2 deletions

View file

@ -647,6 +647,7 @@ int open_stream_internal(const char *path, unsigned int callflags,
{
case WALK_RC_FOUND_ROOT:
IF_MV( rc = rootrc; )
/* fallthrough */
case WALK_RC_NOT_FOUND:
case WALK_RC_FOUND:
/* FF_PROBE leaves nothing for caller to clean up */