[Bug 752747] Fix error on release builds when compiling with "-Werror=unused-but-set-variable".
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jul 28 18:24:25 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=752747
--- Comment #2 from darren.garvey at gmail.com ---
That's a pity, as building from git does use -Werror which makes this a hard
compilation error.
It's not the prettiest pattern, but it is a "standard" one and one used widely
throughout the codebase, not just in -bad. I figured putting #ifdefs around the
place would be way uglier in this case and the only clean alternative I see is
to remove the assert (and use of had_client) entirely.
--
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