Bug 230280

Summary: [WPE][GTK] Silence -Wswitch warning enumeration value ‘ExceededProcessCountLimit’ not handled in switch
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, bugs-noreply, cgarcia, darin, ews-watchlist, gustavo, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

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].