| Summary: | Add a default return value in convertToExceptionCode | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sihui Liu <sihui_liu> | ||||||
| Component: | WebKit Misc. | Assignee: | Sihui Liu <sihui_liu> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer, wilander | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 231706 | ||||||||
| Attachments: |
|
||||||||
|
Description
Sihui Liu
2021-09-29 15:13:53 PDT
Created attachment 439667 [details]
Patch
Comment on attachment 439667 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=439667&action=review > Source/WebKit/NetworkProcess/storage/FileSystemStorageError.h:53 > return WebCore::ExceptionCode::UnknownError; I think we usually: break; instead of return here. > Source/WebKit/NetworkProcess/storage/FileSystemStorageError.h:56 > + ASSERT_NOT_REACHED(); And then not have ASSERT_NOT_REACHED() here. Created attachment 439668 [details]
Patch
Committed r283280 (242307@main): <https://commits.webkit.org/242307@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439668 [details]. |