GNOME Bugzilla – Bug 640850
GstElement: Fix warning with GCC 4.6
Last modified: 2011-01-28 20:01:36 UTC
As per patch (I love -Werror...)
Created attachment 179541 [details] [review] GstElement: Fix warning with GCC 4.6 gstelement.c: In function ‘gst_element_get_request_pad’: gstelement.c:1052:18: error: variable ‘tmp’ set but not used [-Werror=unused-but-set-variable]
Thanks, changed LONG_{MIN,MAX} to G_{MIN,MAX}LONG to avoid portability issues. commit e6de18ea99d14336b01c4afc44a2ac47a35447c1 Author: Bastien Nocera <hadess@hadess.net> Date: Fri Jan 28 19:08:08 2011 +0000 GstElement: Fix warning with GCC 4.6 gstelement.c: In function ‘gst_element_get_request_pad’: gstelement.c:1052:18: error: variable ‘tmp’ set but not used [-Werror=unused-but-set-variable] https://bugzilla.gnome.org/show_bug.cgi?id=640850 > (I love -Werror...) make ERROR_CFLAGS=''