element: Cast return value to void to prevent compiler warning

This commit is contained in:
Sebastian Dröge 2010-06-13 20:52:36 +02:00
parent a55765465d
commit fe378a9067

View file

@ -1026,7 +1026,7 @@ gst_element_get_request_pad (GstElement * element, const gchar * name)
data = name + (str - templ->name_template);
if (*(str + 1) == 'd') {
/* it's an int */
strtol (data, &endptr, 10);
(void) strtol (data, &endptr, 10);
if (endptr && *endptr == '\0') {
templ_found = TRUE;
req_name = name;