After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 543259 - warning in gstv4l2src.c due to an uninitialized variable
warning in gstv4l2src.c due to an uninitialized variable
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-16 10:40 UTC by Benoit Fouet
Modified: 2008-07-17 13:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
initialize the uninitialized (602 bytes, patch)
2008-07-16 10:40 UTC, Benoit Fouet
committed Details | Review

Description Benoit Fouet 2008-07-16 10:40:12 UTC
this prevents from building it as -Werror is enabled
Comment 1 Benoit Fouet 2008-07-16 10:40:43 UTC
Created attachment 114655 [details] [review]
initialize the uninitialized
Comment 2 Jan Schmidt 2008-07-16 14:22:01 UTC
Looks trivially correct to me, please commit
Comment 3 Tim-Philipp Müller 2008-07-17 13:54:38 UTC
2008-07-17  Tim-Philipp Müller  <tim.muller at collabora co uk>

        Patch by: Benoit Fouet <benoit.fouet purplelabs com>

        * sys/v4l2/gstv4l2src.c: (gst_v4l2src_negotiate):
          Avoid compiler warning by initialising variable to NULL (#543259).