Bug 241044

Summary: Fix a11y build warnings
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: AccessibilityAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Michael Catanzaro 2022-05-27 14:00:22 PDT
Two new build warnings introduced today and yesterday:

[1141/2253] Building CXX object Source/WebCore/CMakeFiles/...ivedSources/unified-sources/UnifiedSource-aba958d6-5.cpp.o
In file included from /home/mcatanzaro/Projects/WebKit/WebKitBuild/GNOME-gtk3/WebCore/DerivedSources/unified-sources/UnifiedSource-aba958d6-5.cpp:3:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/accessibility/atspi/AXObjectCacheAtspi.cpp: In member function ‘void WebCore::AXObjectCache::postPlatformNotification(WebCore::AXCoreObject*, AXNotification)’:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/accessibility/atspi/AXObjectCacheAtspi.cpp:74:12: warning: enumeration value ‘AXDescribedByChanged’ not handled in switch [-Wswitch]
   74 |     switch (notification) {
      |            ^
/home/mcatanzaro/Projects/WebKit/Source/WebCore/accessibility/atspi/AXObjectCacheAtspi.cpp:74:12: warning: enumeration value ‘AXHasPopupChanged’ not handled in switch [-Wswitch]

[1144/2253] Building CXX object Source/WebCore/CMakeFiles/...ivedSources/unified-sources/UnifiedSource-aba958d6-1.cpp.o
In file included from /home/mcatanzaro/Projects/WebKit/WebKitBuild/GNOME-gtk3/WebCore/DerivedSources/unified-sources/UnifiedSource-aba958d6-1.cpp:3:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/accessibility/AXObjectCache.cpp: In static member function ‘static WebCore::AXRelationType WebCore::AXObjectCache::symmetricRelation(WebCore::AXRelationType)’:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/accessibility/AXObjectCache.cpp:3731:1: warning: control reaches end of non-void function [-Wreturn-type]
 3731 | }
      | ^
Comment 1 Radar WebKit Bug Importer 2022-05-27 14:00:32 PDT
<rdar://problem/94052909>
Comment 2 Michael Catanzaro 2022-05-27 14:02:09 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1122
Comment 3 EWS 2022-05-30 06:00:44 PDT
Committed r295024 (251119@main): <https://commits.webkit.org/251119@main>

Reviewed commits have been landed. Closing PR #1122 and removing active labels.