[Webkit-unassigned] [Bug 227348] New: [GStreamer] Build warnings in AudioFileReader since r279123
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 24 04:49:17 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=227348
Bug ID: 227348
Summary: [GStreamer] Build warnings in AudioFileReader since
r279123
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pnormand at igalia.com
[2156/3527] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp.o
../../Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:351:9: warning: variable 'source' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (m_data) {
^~~~~~
../../Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:361:131: note: uninitialized use occurs here
gst_bin_add_many(((((GstBin*) g_type_check_instance_cast ((GTypeInstance*) ((m_pipeline.get())), ((gst_bin_get_type ())))))), source, m_decodebin.get(), nullptr);
^~~~~~
../../Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:351:5: note: remove the 'if' if its condition is always true
if (m_data) {
^~~~~~~~~~~~
../../Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:350:23: note: initialize the variable 'source' to silence this warning
GstElement* source;
^
= nullptr
1 warning generated.
--
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/20210624/ccbe774e/attachment.htm>
More information about the webkit-unassigned
mailing list