[Bug 653137] Warnings in Gstreamer (core) with Clang compiler

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 21 15:33:42 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=653137
  GStreamer | gstreamer (core) | git

--- Comment #3 from Koop Mast (kwm) <kwm at FreeBSD.org> 2011-06-21 22:33:40 UTC ---
Created an attachment (id=190397)
 View: https://bugzilla.gnome.org/attachment.cgi?id=190397
 Review: https://bugzilla.gnome.org/review?bug=653137&attachment=190397

Remove redundant ()

gstbasetransform.c:1980:14: error: equality comparison with extraneous
      parentheses [-Werror,-Wparentheses]
    if ((ret == GST_FLOW_OK)) {
         ~~~~^~~~~~~~~~~~~~
gstbasetransform.c:1980:14: note: remove extraneous parentheses around the
      comparison to silence this warning
    if ((ret == GST_FLOW_OK)) {
        ~    ^             ~
gstbasetransform.c:1980:14: note: use '=' to turn this equality comparison into
      an assignment
    if ((ret == GST_FLOW_OK)) {
             ^~
             =
1 error generated.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list