Bug 172414 - -Wreturn-type warning triggered by WKNotification.cpp:77
Summary: -Wreturn-type warning triggered by WKNotification.cpp:77
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-20 08:30 PDT by Michael Catanzaro
Modified: 2017-05-20 12:25 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.36 KB, patch)
2017-05-20 08:32 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-20 08:30:10 PDT
Fix -Wreturn-type warning triggered by WKNotification.cpp:77:

[4626/5527] Building CXX object Source...r/UIProcess/API/C/WKNotification.cpp.o
../../Source/WebKit2/UIProcess/API/C/WKNotification.cpp: In function ‘const OpaqueWKString* WKNotificationCopyDir(WKNotificationRef)’:
../../Source/WebKit2/UIProcess/API/C/WKNotification.cpp:77:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Comment 1 Michael Catanzaro 2017-05-20 08:32:01 PDT
Created attachment 310771 [details]
Patch
Comment 2 Sam Weinig 2017-05-20 11:58:36 PDT
Comment on attachment 310771 [details]
Patch

My bad.
Comment 3 WebKit Commit Bot 2017-05-20 12:25:57 PDT
Comment on attachment 310771 [details]
Patch

Clearing flags on attachment: 310771

Committed r217189: <http://trac.webkit.org/changeset/217189>
Comment 4 WebKit Commit Bot 2017-05-20 12:25:59 PDT
All reviewed patches have been landed.  Closing bug.