GNOME Bugzilla – Bug 796847
gstreamer-1.14.2: 3 * redundant condition ?
Last modified: 2018-07-24 07:03:02 UTC
[gstreamer-1.14.2/gst/gstpadtemplate.c:282]: (style) Redundant condition: underscore. '!underscore || (underscore && str<underscore)' is equivalent to '!underscore || str<underscore' [gstreamer-1.14.2/gst/gstparse.c:196]: (style) Redundant condition: in_quotes. '!in_quotes || (in_quotes && *(str-1)!='\\')' is equivalent to '!in_quotes || *(str-1)!='\\'' [gstreamer-1.14.2/gst/parse/types.h:92]: (style) Redundant condition: in_quotes. '!in_quotes || (in_quotes && *(walk-1)!='\\')' is equivalent to '!in_quotes || *(walk-1)!='\\''
Do you want to provide a patch for this?
(In reply to Sebastian Dröge (slomo) from comment #1) > Do you want to provide a patch for this? No thanks. I am happy for someone else to provide a patch.
commit b079334c1c8f250a6b15c5c6950d60d5eb849c2b (HEAD -> master, origin/master, origin/HEAD) Author: Sebastian Dröge <sebastian@centricular.com> Date: Tue Jul 24 09:58:31 2018 +0300 gst: Simplify some boolean expressions (!x || (x && y)) is the same as (!x || y) https://bugzilla.gnome.org/show_bug.cgi?id=796847