Task #493 - fixed.err

back to task #493
download
Error: CLANG_WARNING:
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/ext/adaptivedemux2/dash/gstmpdhelper.c:89:16: warning[deadcode.DeadStores]: Value stored to 'name' during its initialization is never read
#   87|   {
#   88|     GstStructure *s;
#   89|->   const gchar *name = "";
#   90|     const gchar *codec_name = NULL;
#   91|   

Error: CLANG_WARNING:
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/ext/adaptivedemux2/dash/gstmpdhelper.c:117:16: warning[deadcode.DeadStores]: Value stored to 'name' during its initialization is never read
#  115|   {
#  116|     GstStructure *s;
#  117|->   const gchar *name = "";
#  118|     const gchar *codec_name = NULL;
#  119|   

Error: GCC_ANALYZER_WARNING (CWE-688):
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/goom2k1/goom_core.c: scope_hint: In function ‘goom2k1_set_resolution’
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/goom2k1/goom_core.c:76:3: warning[-Wanalyzer-null-argument]: use of NULL ‘*goomdata.p1’ where non-null expected
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/goom2k1/goom_core.c:22:1: note: in expansion of macro ‘goom_init’
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/goom2k1/goom_core.c:36:3: note: in expansion of macro ‘goom_set_resolution’
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/goom2k1/goom_core.c:53:1: note: in expansion of macro ‘goom_set_resolution’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   74|     goomdata->resoly = resy;
#   75|   
#   76|->   memset (goomdata->pixel, 0, buffsize * sizeof (guint32) + 128);
#   77|     memset (goomdata->back, 0, buffsize * sizeof (guint32) + 128);
#   78|   }

Error: COMPILER_WARNING:
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/rtp/gstrtph264pay.c:1258:1: warning[-Wenum-int-mismatch]: conflicting types for ‘gst_rtp_h264_pay_payload_nal_bundle’ due to enum/integer mismatch; have ‘gboolean(GstRTPBasePayload *, GstBuffer *, GstClockTime,  GstClockTime,  gboolean,  gboolean,  gboolean,  guint8)’ {aka ‘int(struct _GstRTPBasePayload *, struct _GstBuffer *, long unsigned int,  long unsigned int,  int,  int,  int,  unsigned char)’}
# 1258 | gst_rtp_h264_pay_payload_nal_bundle (GstRTPBasePayload * basepayload,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/rtp/gstrtph264pay.c:865:1: note: previous declaration of ‘gst_rtp_h264_pay_payload_nal_bundle’ with type ‘GstFlowReturn(GstRTPBasePayload *, GstBuffer *, GstClockTime,  GstClockTime,  gboolean,  gboolean,  gboolean,  guint8)’ {aka ‘GstFlowReturn(struct _GstRTPBasePayload *, struct _GstBuffer *, long unsigned int,  long unsigned int,  int,  int,  int,  unsigned char)’}
#  865 | gst_rtp_h264_pay_payload_nal_bundle (GstRTPBasePayload * basepayload,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1256|   
# 1257|   static gboolean
# 1258|-> gst_rtp_h264_pay_payload_nal_bundle (GstRTPBasePayload * basepayload,
# 1259|       GstBuffer * paybuf, GstClockTime dts, GstClockTime pts, gboolean end_of_au,
# 1260|       gboolean delta_unit, gboolean discont, guint8 nal_header)

Error: COMPILER_WARNING:
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/rtp/gstrtph265pay.c:1355:1: warning[-Wenum-int-mismatch]: conflicting types for ‘gst_rtp_h265_pay_payload_nal_bundle’ due to enum/integer mismatch; have ‘gboolean(GstRTPBasePayload *, GstBuffer *, GstClockTime,  GstClockTime,  gboolean,  gboolean,  guint8,  const guint8 *, int)’ {aka ‘int(struct _GstRTPBasePayload *, struct _GstBuffer *, long unsigned int,  long unsigned int,  int,  int,  unsigned char,  const unsigned char *, int)’}
# 1355 | gst_rtp_h265_pay_payload_nal_bundle (GstRTPBasePayload * basepayload,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/gst/rtp/gstrtph265pay.c:934:22: note: previous declaration of ‘gst_rtp_h265_pay_payload_nal_bundle’ with type ‘GstFlowReturn(GstRTPBasePayload *, GstBuffer *, GstClockTime,  GstClockTime,  gboolean,  gboolean,  guint8,  const guint8 *, int)’ {aka ‘GstFlowReturn(struct _GstRTPBasePayload *, struct _GstBuffer *, long unsigned int,  long unsigned int,  int,  int,  unsigned char,  const unsigned char *, int)’}
#  934 | static GstFlowReturn gst_rtp_h265_pay_payload_nal_bundle (GstRTPBasePayload *
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1353|   
# 1354|   static gboolean
# 1355|-> gst_rtp_h265_pay_payload_nal_bundle (GstRTPBasePayload * basepayload,
# 1356|       GstBuffer * paybuf, GstClockTime dts, GstClockTime pts,
# 1357|       gboolean marker, gboolean delta_unit, guint8 nal_type,

Error: CPPCHECK_WARNING:
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/tests/check/elements/souphttpsrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
gstreamer1-plugins-good-1.22.9-build/gst-plugins-good-1.22.9/tests/check/elements/souphttpsrc.c:581:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
#  579|   
#  580|   leave:
#  581|->   soup_server_message_set_status (msg, status, NULL);
#  582|     g_free (uri);
#  583|   }