mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
element: Cast return value to void to prevent compiler warning
This commit is contained in:
parent
a55765465d
commit
fe378a9067
1 changed files with 1 additions and 1 deletions
|
@ -1026,7 +1026,7 @@ gst_element_get_request_pad (GstElement * element, const gchar * name)
|
||||||
data = name + (str - templ->name_template);
|
data = name + (str - templ->name_template);
|
||||||
if (*(str + 1) == 'd') {
|
if (*(str + 1) == 'd') {
|
||||||
/* it's an int */
|
/* it's an int */
|
||||||
strtol (data, &endptr, 10);
|
(void) strtol (data, &endptr, 10);
|
||||||
if (endptr && *endptr == '\0') {
|
if (endptr && *endptr == '\0') {
|
||||||
templ_found = TRUE;
|
templ_found = TRUE;
|
||||||
req_name = name;
|
req_name = name;
|
||||||
|
|
Loading…
Reference in a new issue