[Webkit-unassigned] [Bug 170059] New: [GTK] No value returned from PrintCustomWidgetTest::createWebKitPrintOperation() in TestPrinting.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 24 10:51:11 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170059

            Bug ID: 170059
           Summary: [GTK] No value returned from
                    PrintCustomWidgetTest::createWebKitPrintOperation() in
                    TestPrinting.cpp
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: bugs-noreply at webkitgtk.org

Clang finds this when building WebKitGTK+:

  Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:402:5: warning: control may reach end of non-void function [-Wreturn-type]

The function is declared as returning a “WebKitPrintOperation*”, but there is
no “return“ statement. Also, where the method is used the result of the call
is not used.

I'm sending a one-liner for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170324/58ea5348/attachment-0001.html>


More information about the webkit-unassigned mailing list