Remove some dead assignments

This commit is contained in:
Sebastian Dröge 2010-06-13 17:08:48 +02:00
parent e03b46cae4
commit e6e29192bc
2 changed files with 1 additions and 4 deletions

View file

@ -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;

View file

@ -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;
}
}