[Bug 754214] unused variable warnings
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Aug 28 00:07:46 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754214
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |slomo at coaxion.net
Resolution|--- |WONTFIX
--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Releases are built without assertions, that's why these variables are now
considered unused. The g_assert() that uses them is a noop in releases (and
current GIT master has a release version number: 1.5.90, and not a GIT version
number 1.5.90.1).
For debug output, it's basically the same story. Adding noise to the code for
making these unused variable compiler warnings disappear when debugging (or
assertions) are disabled is not worth it and will only make the code less
readable. -Werror is only supposed to be used for builds from GIT with debug
output and assertions enabled.
--
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