Unreviewed, fix -Wreturn-type warning
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Apr 2019 20:51:45 +0000 (20:51 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Apr 2019 20:51:45 +0000 (20:51 +0000)
* Shared/WebsiteData/WebsiteData.cpp:
(WebKit::WebsiteData::ownerProcess):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243902 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/Shared/WebsiteData/WebsiteData.cpp

index 956de45..07cddea 100644 (file)
@@ -1,3 +1,10 @@
+2019-04-04  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Unreviewed, fix -Wreturn-type warning
+
+        * Shared/WebsiteData/WebsiteData.cpp:
+        (WebKit::WebsiteData::ownerProcess):
+
 2019-04-04  Per Arne Vollan  <pvollan@apple.com>
 
         [macOS] Fix sandbox violations
index 9d5f4b8..060b6ec 100644 (file)
@@ -129,6 +129,8 @@ WebsiteDataProcessType WebsiteData::ownerProcess(WebsiteDataType dataType)
     case WebsiteDataType::DeviceIdHashSalt:
         return WebsiteDataProcessType::UI;
     }
+
+    RELEASE_ASSERT_NOT_REACHED();
 }
 
 OptionSet<WebsiteDataType> WebsiteData::filter(OptionSet<WebsiteDataType> unfilteredWebsiteDataTypes, WebsiteDataProcessType WebsiteDataProcessType)