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
/* it's an int */
tmp = strtol (data, &endptr, 10);
/* it's an int */
tmp = strtol (data, &endptr, 10);
- if (endptr && *endptr == '\0') {
+ if (tmp != G_MINLONG && tmp != G_MAXLONG && endptr &&
+ *endptr == '\0') {
templ_found = TRUE;
req_name = name;
break;
templ_found = TRUE;
req_name = name;
break;