Bug 171866

Summary: -Wreturn-type warning triggered by WKPage.cpp:2277
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKit2Assignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Trivial CC: bugs-noreply, commit-queue, mcatanzaro, zan
Priority: P2    
Version: Other   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

Description Michael Catanzaro 2017-05-09 11:02:29 PDT
[3490/4357] Building CXX object Source...bKit2.dir/UIProcess/API/C/WKPage.cpp.o
../../Source/WebKit2/UIProcess/API/C/WKPage.cpp: In static member function ‘static WKAutoplayEvent WKPageSetPageUIClient(WKPageRef, const WKPageUIClientBase*)::UIClient::toWKAutoplayEvent(WebCore::AutoplayEvent)’:
../../Source/WebKit2/UIProcess/API/C/WKPage.cpp:2277:9: warning: control reaches end of non-void function [-Wreturn-type]
         }
         ^
Comment 1 Michael Catanzaro 2017-05-10 15:21:41 PDT
Created attachment 309646 [details]
Patch
Comment 2 Michael Catanzaro 2017-05-20 08:05:09 PDT
Ping reviewers
Comment 3 WebKit Commit Bot 2017-05-22 11:17:11 PDT
Comment on attachment 309646 [details]
Patch

Clearing flags on attachment: 309646

Committed r217228: <http://trac.webkit.org/changeset/217228>
Comment 4 WebKit Commit Bot 2017-05-22 11:17:12 PDT
All reviewed patches have been landed.  Closing bug.