mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
Remove some dead assignments
This commit is contained in:
parent
e03b46cae4
commit
e6e29192bc
2 changed files with 1 additions and 4 deletions
|
@ -986,7 +986,6 @@ gst_element_get_request_pad (GstElement * element, const gchar * name)
|
|||
const gchar *req_name = NULL;
|
||||
gboolean templ_found = FALSE;
|
||||
GList *list;
|
||||
gint n;
|
||||
const gchar *data;
|
||||
gchar *str, *endptr = NULL;
|
||||
GstElementClass *class;
|
||||
|
@ -1027,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 */
|
||||
n = (gint) strtol (data, &endptr, 10);
|
||||
strtol (data, &endptr, 10);
|
||||
if (endptr && *endptr == '\0') {
|
||||
templ_found = TRUE;
|
||||
req_name = name;
|
||||
|
|
|
@ -2559,8 +2559,6 @@ null_buffer:
|
|||
GST_ELEMENT_ERROR (src, STREAM, FAILED,
|
||||
(_("Internal data flow error.")), ("element returned NULL buffer"));
|
||||
GST_LIVE_UNLOCK (src);
|
||||
/* we finished the segment on error */
|
||||
ret = GST_FLOW_ERROR;
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue