Bug 245074

Summary: [GStreamer] GCC warnings in RegistryScanner
Product: WebKit Reporter: Philippe Normand <philn>
Component: WebKitGTKAssignee: Philippe Normand <philn>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Philippe Normand 2022-09-12 06:57:20 PDT
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp: In member function 'void WebCore::GStreamerRegistryScanner::fillVideoRtpCapabilities(WebCore::GStreamerRegistryScanner::Configuration, WebCore::RTCRtpCapabilities&)':
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:819:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  819 | # 143 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
  820 | 
      |                                                                                                         
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:821:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  821 | 
      |                                   ^
  822 | typedef unsigned long int __dev_t;
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                      
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:823:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  823 | typedef unsigned int __uid_t;
      |         ~~~~~~~~~~~~~~~~~~~~~     ^
  824 | typedef unsigned int __gid_t;
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                           
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:825:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  825 | typedef unsigned long int __ino_t;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~^
  826 | typedef unsigned long int __ino64_t;
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                    
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:827:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  827 | typedef unsigned int __mode_t;
      |         ~~~~~~~~~~~~~~~~~~~~~~    ^
  828 | typedef unsigned long int __nlink_t;
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                    
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:829:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  829 | typedef long int __off_t;
      |         ~~~~~~~~~~~~~~~~~         ^
  830 | typedef long int __off64_t;
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                             
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:831:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  831 | typedef int __pid_t;
      |         ~~~~~~~~~~~~              ^
  832 | typedef struct { int __val[2]; } __fsid_t;
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                              
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:833:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  833 | typedef long int __clock_t;
      |         ~~~~~~~~~~~~~~~~~~~       ^
  834 | typedef unsigned long int __rlim_t;
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                     
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:841:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  841 | 
      |                                   ^                                                  
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:841:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::sdpFmtpLine' [-Wmissing-field-initializers]
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:846:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  846 | typedef int __clockid_t;
      |         ~~~~~~~~~~~~~~~~          ^                                                                                   
/app/webkit/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:847:35: warning: missing initializer for member 'WebCore::RTCRtpCodecCapability::channels' [-Wmissing-field-initializers]
  847 | 
      |                                   ^
Comment 1 Philippe Normand 2022-09-13 03:35:37 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4301
Comment 2 EWS 2022-09-13 06:42:00 PDT
Committed 254434@main (c14914bac41b): <https://commits.webkit.org/254434@main>

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