Bug 171866 - -Wreturn-type warning triggered by WKPage.cpp:2277
Summary: -Wreturn-type warning triggered by WKPage.cpp:2277
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Trivial
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-09 11:02 PDT by Michael Catanzaro
Modified: 2017-05-22 11:17 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.38 KB, patch)
2017-05-10 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 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.