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 774751 - ges-uri-asset: fix compile error 'timeout' may be used uninitialized
ges-uri-asset: fix compile error 'timeout' may be used uninitialized
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-editing-services
git master
Other Windows
: Normal minor
: 1.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-20 14:38 UTC by Philippe Renon
Modified: 2016-11-23 11:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ges-uri-asset: fix compile error 'timeout' may be used uninitialized (1.21 KB, application/mbox)
2016-11-20 14:38 UTC, Philippe Renon
  Details
ges-uri-asset: fix compile error 'timeout' may be used uninitialized (1.21 KB, patch)
2016-11-20 14:39 UTC, Philippe Renon
none Details | Review
ges-uri-asset: fix compile error 'timeout' may be used uninitialized (1.24 KB, patch)
2016-11-20 14:40 UTC, Philippe Renon
committed Details | Review

Description Philippe Renon 2016-11-20 14:38:36 UTC
Created attachment 340355 [details]
ges-uri-asset: fix compile error 'timeout' may be used uninitialized

../../gst-editing-services/ges/ges-uri-asset.c: In function 'ges_uri_clip_asset_class_intern_init':
../../gst-editing-services/ges/ges-uri-asset.c:227:28: error: 'timeout' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   klass->sync_discoverer = gst_discoverer_new (timeout, NULL);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gst-editing-services/ges/ges-uri-asset.c:186:16: note: 'timeout' was declared here
   GstClockTime timeout;
                ^~~~~~~
  CC       libges_1.0_la-ges-base-xml-formatter.lo
Comment 1 Philippe Renon 2016-11-20 14:39:41 UTC
Created attachment 340356 [details] [review]
ges-uri-asset: fix compile error 'timeout' may be used uninitialized
Comment 2 Philippe Renon 2016-11-20 14:40:25 UTC
Created attachment 340357 [details] [review]
ges-uri-asset: fix compile error 'timeout' may be used uninitialized
Comment 3 Sebastian Dröge (slomo) 2016-11-21 07:30:41 UTC
Attachment 340357 [details] pushed as be48b04 - ges-uri-asset: fix compile error 'timeout' may be used uninitialized