warning: ../../Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp:251:9: warning: expression result unused [-Wunused-value] (GstToc*)gst_mini_object_ref(((GstMiniObject*)(ptr))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Created attachment 244982 [details] Patch
Is this the only fix possible? Don't we have some macro in WTF about this?
(In reply to comment #2) > Is this the only fix possible? Don't we have some macro in WTF about this? I haven't found.
Ok not sure it'd be worth adding anyway :)
Comment on attachment 244982 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=244982&action=review > Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp:251 > - gst_toc_ref(ptr); > + (void)gst_toc_ref(ptr); Actually we could return the result value here, return gst_toc_ref(ptr);
Created attachment 244991 [details] Patch
Comment on attachment 244991 [details] Patch Clearing flags on attachment: 244991 Committed r178711: <http://trac.webkit.org/changeset/178711>
All reviewed patches have been landed. Closing bug.