From: Nirbheek Chauhan Date: Tue, 5 Feb 2019 19:00:35 +0000 (+0530) Subject: misc: Fix warnings on Cerbero's ancient MinGW X-Git-Tag: 1.19.3~493^2~587 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50d58678e08fc2a5356ac02f86a87bd9eebf9b42;p=platform%2Fupstream%2Fgstreamer.git misc: Fix warnings on Cerbero's ancient MinGW gesdemux.c:297:3: error: value computed is not used [-Werror=unused-value] --- diff --git a/plugins/ges/gesdemux.c b/plugins/ges/gesdemux.c index 1096790..824d1ce 100644 --- a/plugins/ges/gesdemux.c +++ b/plugins/ges/gesdemux.c @@ -268,6 +268,7 @@ ges_timeline_new_from_uri_from_main_thread (TimelineConstructionData * data) GESUriClipAssetClass *klass = g_type_class_peek (GES_TYPE_URI_CLIP_ASSET); GstDiscoverer *previous_discoverer = klass->discoverer; GstClockTime timeout; + G_GNUC_UNUSED void *unused; g_object_get (previous_discoverer, "timeout", &timeout, NULL); @@ -294,7 +295,7 @@ ges_timeline_new_from_uri_from_main_thread (TimelineConstructionData * data) g_signal_connect (project, "error-loading-asset", G_CALLBACK (error_loading_asset_cb), data); - GES_TIMELINE (ges_asset_extract (GES_ASSET (project), &data->error)); + unused = GES_TIMELINE (ges_asset_extract (GES_ASSET (project), &data->error)); if (data->error) { g_mutex_unlock (&data->lock);