Implicit switch fallthrough refactor

This commit is contained in:
Jack Andersen 2019-02-17 19:46:42 -10:00
parent be8409681f
commit 95ed2ae7dc
2 changed files with 2 additions and 1 deletions

View File

@ -196,6 +196,7 @@ DirectoryEnumerator::DirectoryEnumerator(SystemStringView path, Mode mode, bool
if (mode == Mode::DirsSorted) if (mode == Mode::DirsSorted)
break; break;
rewinddir(dir); rewinddir(dir);
[[fallthrough]];
} }
case Mode::FilesSorted: { case Mode::FilesSorted: {
if (mode == Mode::FilesSorted) if (mode == Mode::FilesSorted)

@ -1 +1 @@
Subproject commit 01e291833ba4d7f2a596c32cf6158cb6a9327ad7 Subproject commit 3da29add5f15dee3c27778f8f0b7305338778be0