diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-24 15:39:01 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-04 18:59:46 +0000 |
commit | 005c414e5f2a0ace3756da767d3920ac98cb5c76 (patch) | |
tree | 73b17f1e733ffb64a475657eefa21b17ac1ff7b9 /firmware/common/file_internal.c | |
parent | ef41cc6623226f3ce7630211ef88640a48fb8e59 (diff) | |
download | rockbox-005c414e5f2a0ace3756da767d3920ac98cb5c76.tar.gz rockbox-005c414e5f2a0ace3756da767d3920ac98cb5c76.zip |
Document intentional fallthroughs + fix harmless unintended ones
Change-Id: I1ca5b1027ec30cbf61093bab35b980196ed14e6b
Diffstat (limited to 'firmware/common/file_internal.c')
-rw-r--r-- | firmware/common/file_internal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/common/file_internal.c b/firmware/common/file_internal.c index fe18f90056..5f35e35abc 100644 --- a/firmware/common/file_internal.c +++ b/firmware/common/file_internal.c | |||
@@ -647,6 +647,7 @@ int open_stream_internal(const char *path, unsigned int callflags, | |||
647 | { | 647 | { |
648 | case WALK_RC_FOUND_ROOT: | 648 | case WALK_RC_FOUND_ROOT: |
649 | IF_MV( rc = rootrc; ) | 649 | IF_MV( rc = rootrc; ) |
650 | /* fallthrough */ | ||
650 | case WALK_RC_NOT_FOUND: | 651 | case WALK_RC_NOT_FOUND: |
651 | case WALK_RC_FOUND: | 652 | case WALK_RC_FOUND: |
652 | /* FF_PROBE leaves nothing for caller to clean up */ | 653 | /* FF_PROBE leaves nothing for caller to clean up */ |