⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 283280 in webkit


Ignore:
Timestamp:
Sep 29, 2021, 4:31:55 PM (5 years ago)
Author:
sihui_liu@apple.com
Message:

Add a default return value in convertToExceptionCode
https://bugs.webkit.org/show_bug.cgi?id=230989

Reviewed by Chris Dumez.

To fix non-Cocoa build.

  • NetworkProcess/storage/FileSystemStorageError.h:

(WebKit::convertToExceptionCode):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r283276 r283280  
     12021-09-29  Sihui Liu  <sihui_liu@apple.com>
     2
     3        Add a default return value in convertToExceptionCode
     4        https://bugs.webkit.org/show_bug.cgi?id=230989
     5
     6        Reviewed by Chris Dumez.
     7
     8        To fix non-Cocoa build.
     9
     10        * NetworkProcess/storage/FileSystemStorageError.h:
     11        (WebKit::convertToExceptionCode):
     12
    1132021-09-29  BJ Burg  <bburg@apple.com>
    214
  • trunk/Source/WebKit/NetworkProcess/storage/FileSystemStorageError.h

    r283029 r283280  
    5151        return WebCore::ExceptionCode::UnknownError;
    5252    case FileSystemStorageError::Unknown:
    53         return WebCore::ExceptionCode::UnknownError;
     53        break;
    5454    }
     55
     56    return WebCore::ExceptionCode::UnknownError;
    5557}
    5658
Note: See TracChangeset for help on using the changeset viewer.