Bug 230280 - [WPE][GTK] Silence -Wswitch warning enumeration value ‘ExceededProcessCountLimit’ not handled in switch
Summary: [WPE][GTK] Silence -Wswitch warning enumeration value ‘ExceededProcessCountLi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-14 15:19 PDT by Michael Catanzaro
Modified: 2021-09-15 08:23 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.37 KB, patch)
2021-09-14 15:21 PDT, Michael Catanzaro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2021-09-14 15:19:21 PDT
[46/172] Building CXX object Source/WebKit/CMakeFiles/WebKit.dir/UIProcess/API/glib/WebKitNavigationClient.cpp.o
../../Source/WebKit/UIProcess/API/glib/WebKitNavigationClient.cpp: In member function ‘virtual bool NavigationClient::processDidTerminate(WebKit::WebPageProxy&, WebKit::ProcessTerminationReason)’:
../../Source/WebKit/UIProcess/API/glib/WebKitNavigationClient.cpp:111:16: warning: enumeration value ‘ExceededProcessCountLimit’ not handled in switch [-Wswitch]
  111 |         switch (reason) {
      |                ^
Comment 1 Michael Catanzaro 2021-09-14 15:21:27 PDT
Created attachment 438179 [details]
Patch
Comment 2 EWS Watchlist 2021-09-14 15:22:34 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 EWS 2021-09-15 08:23:24 PDT
Committed r282456 (241708@main): <https://commits.webkit.org/241708@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 438179 [details].