[Webkit-unassigned] [Bug 96975] New: [Gtk] Remove the unused variable warning in GamepadsGtk.cpp using ASSERT_UNUSED macro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 17 20:55:31 PDT 2012


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

           Summary: [Gtk] Remove the unused variable warning in
                    GamepadsGtk.cpp using ASSERT_UNUSED macro
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vivekgalatage at gmail.com


The following warning is thrown:

../../Source/WebCore/platform/gtk/GamepadsGtk.cpp: In static member function ‘static gboolean WebCore::GamepadDeviceGtk::readCallback(GObject*, gpointer)’:
../../Source/WebCore/platform/gtk/GamepadsGtk.cpp:85:12: warning: unused variable ‘len’ [-Wunused-variable]

This warning can be avoided using the ASSERT_UNUSED macro.

Patch to follow.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list