mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
element: Store result of strtol in an unused variable to really fix a compiler warning...
This commit is contained in:
parent
fe378a9067
commit
6fd7c5bda0
1 changed files with 3 additions and 1 deletions
|
@ -1025,8 +1025,10 @@ gst_element_get_request_pad (GstElement * element, const gchar * name)
|
|||
&& strlen (name) > str - templ->name_template) {
|
||||
data = name + (str - templ->name_template);
|
||||
if (*(str + 1) == 'd') {
|
||||
gint tmp;
|
||||
|
||||
/* it's an int */
|
||||
(void) strtol (data, &endptr, 10);
|
||||
tmp = strtol (data, &endptr, 10);
|
||||
if (endptr && *endptr == '\0') {
|
||||
templ_found = TRUE;
|
||||
req_name = name;
|
||||
|
|
Loading…
Reference in a new issue