[Webkit-unassigned] [Bug 170115] New: [GTK] NetscapePluginX11::m_windowID is unused/unneeded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 27 03:49:21 PDT 2017


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

            Bug ID: 170115
           Summary: [GTK] NetscapePluginX11::m_windowID is unused/unneeded
           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

Building WebKitGTK+ with Clang produces the following warning:

  Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.h:67:14: warning: private field 'm_windowID' is not used [-Wunused-private-field]
      uint64_t m_windowID { 0 };
               ^

The “windowID” parameter is still needed in the constructor, as it gets
passed to “gtk_plug_new()”, but that is the only use.

I'll be sending a patch to remove the unneeded “m_windowID” member.

-- 
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/20170327/4f22ec61/attachment-0001.html>


More information about the webkit-unassigned mailing list