[Bug 767998] tautological-compare warnings/errors when building tests with recent GCC

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 24 10:44:54 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=767998

--- Comment #1 from Guillaume Desmottes <gdesmott at gnome.org> ---
Looks like it's because of this:
https://cgit.freedesktop.org/gstreamer/gstreamer/tree/gst/gstinfo.h#n427

#define gst_debug_remove_log_function(func)   \
    (func == gst_debug_log_default) ?         \
        gst_debug_remove_log_function(NULL) : \
        gst_debug_remove_log_function(func)

What's the point of this macro exactly? We have the same the same logic
implemented in the function:

  if (func == NULL)
    func = gst_debug_log_default;

-- 
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