[Webkit-unassigned] [Bug 244892] New: [GTK] -Wunused-function warnings from TestContextMenu.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 7 08:46:55 PDT 2022


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

            Bug ID: 244892
           Summary: [GTK] -Wunused-function warnings from
                    TestContextMenu.cpp
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org

[434/537] Building CXX object Tools/TestWebKitAPI/glib/CMa...stContextMenu.dir/__/Tests/WebKitGtk/TestContextMenu.cpp.o
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp: In member function ‘void ContextMenuCustomTest::activateMenuItem()’:
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:617:15: warning: unused variable ‘item’ [-Wunused-variable]
  617 |         auto* item = getMenuItem(menu, m_itemToActivateLabel);
      |               ^~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp: At global scope:
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:1136:13: warning: ‘void testContextMenuLiveStream(ContextMenuDefaultTest*, gconstpointer)’ defined but not used [-Wunused-function]
 1136 | static void testContextMenuLiveStream(ContextMenuDefaultTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:1057:13: warning: ‘void testContextMenuWebExtensionNode(ContextMenuWebExtensionNodeTest*, gconstpointer)’ defined but not used [-Wunused-function]
 1057 | static void testContextMenuWebExtensionNode(ContextMenuWebExtensionNodeTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:967:13: warning: ‘void testContextMenuWebExtensionMenu(ContextMenuWebExtensionTest*, gconstpointer)’ defined but not used [-Wunused-function]
  967 | static void testContextMenuWebExtensionMenu(ContextMenuWebExtensionTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:918:13: warning: ‘void testContextMenuDismissed(ContextMenuDismissedTest*, gconstpointer)’ defined but not used [-Wunused-function]
  918 | static void testContextMenuDismissed(ContextMenuDismissedTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:878:13: warning: ‘void testContextMenuSubMenu(ContextMenuSubmenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  878 | static void testContextMenuSubMenu(ContextMenuSubmenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:830:13: warning: ‘void testContextMenuCustomMenu(ContextMenuCustomFullTest*, gconstpointer)’ defined but not used [-Wunused-function]
  830 | static void testContextMenuCustomMenu(ContextMenuCustomFullTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:704:13: warning: ‘void testContextMenuPopulateMenu(ContextMenuCustomTest*, gconstpointer)’ defined but not used [-Wunused-function]
  704 | static void testContextMenuPopulateMenu(ContextMenuCustomTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:565:13: warning: ‘void testContextMenuKey(ContextMenuDefaultTest*, gconstpointer)’ defined but not used [-Wunused-function]
  565 | static void testContextMenuKey(ContextMenuDefaultTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:556:13: warning: ‘void testPopupEventSignal(ContextMenuDefaultTest*, gconstpointer)’ defined but not used [-Wunused-function]
  556 | static void testPopupEventSignal(ContextMenuDefaultTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:509:13: warning: ‘void testContextMenuDefaultMenu(ContextMenuDefaultTest*, gconstpointer)’ defined but not used [-Wunused-function]
  509 | static void testContextMenuDefaultMenu(ContextMenuDefaultTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
[457/537] Building CXX object Tools/TestWebKitAPI/glib/CMa...estOptionMenu.dir/__/Tests/WebKitGLib/TestOptionMenu.cpp.o
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestOptionMenu.cpp:269:13: warning: ‘void testOptionMenuSelect(OptionMenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  269 | static void testOptionMenuSelect(OptionMenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestOptionMenu.cpp:239:13: warning: ‘void testOptionMenuActivate(OptionMenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  239 | static void testOptionMenuActivate(OptionMenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestOptionMenu.cpp:158:13: warning: ‘void testOptionMenuGroups(OptionMenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  158 | static void testOptionMenuGroups(OptionMenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestOptionMenu.cpp:116:13: warning: ‘void testOptionMenuSimple(OptionMenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  116 | static void testOptionMenuSimple(OptionMenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~
[465/537] Building CXX object Tools/TestWebKitAPI/glib/CMa.../TestDownloads.dir/__/Tests/WebKitGLib/TestDownloads.cpp.o
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:831:13: warning: ‘void testContextMenuDownloadActions(WebViewDownloadTest*, gconstpointer)’ defined but not used [-Wunused-function]
  831 | static void testContextMenuDownloadActions(WebViewDownloadTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220907/1ae511ec/attachment.htm>


More information about the webkit-unassigned mailing list