gst: Remove obvious dead assignments

This commit is contained in:
Edward Hervey 2011-05-31 18:30:30 +02:00
parent fce85f75ff
commit ceb86a586e
4 changed files with 0 additions and 11 deletions

View file

@ -368,12 +368,10 @@ static void
gst_bin_class_init (GstBinClass * klass) gst_bin_class_init (GstBinClass * klass)
{ {
GObjectClass *gobject_class; GObjectClass *gobject_class;
GstObjectClass *gstobject_class;
GstElementClass *gstelement_class; GstElementClass *gstelement_class;
GError *err; GError *err;
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstobject_class = (GstObjectClass *) klass;
gstelement_class = (GstElementClass *) klass; gstelement_class = (GstElementClass *) klass;
g_type_class_add_private (klass, sizeof (GstBinPrivate)); g_type_class_add_private (klass, sizeof (GstBinPrivate));

View file

@ -294,13 +294,10 @@ do_stop (GstBufferPool * pool)
gboolean gboolean
gst_buffer_pool_set_active (GstBufferPool * pool, gboolean active) gst_buffer_pool_set_active (GstBufferPool * pool, gboolean active)
{ {
GstBufferPoolClass *pclass;
gboolean res = TRUE; gboolean res = TRUE;
g_return_val_if_fail (GST_IS_BUFFER_POOL (pool), FALSE); g_return_val_if_fail (GST_IS_BUFFER_POOL (pool), FALSE);
pclass = GST_BUFFER_POOL_GET_CLASS (pool);
GST_LOG_OBJECT (pool, "active %d", active); GST_LOG_OBJECT (pool, "active %d", active);
GST_BUFFER_POOL_LOCK (pool); GST_BUFFER_POOL_LOCK (pool);

View file

@ -174,10 +174,8 @@ static void
gst_element_class_init (GstElementClass * klass) gst_element_class_init (GstElementClass * klass)
{ {
GObjectClass *gobject_class; GObjectClass *gobject_class;
GstObjectClass *gstobject_class;
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstobject_class = (GstObjectClass *) klass;
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);

View file

@ -1482,10 +1482,6 @@ gst_base_sink_commit_state (GstBaseSink * basesink)
switch (pending) { switch (pending) {
case GST_STATE_PLAYING: case GST_STATE_PLAYING:
{ {
GstBaseSinkClass *bclass;
bclass = GST_BASE_SINK_GET_CLASS (basesink);
GST_DEBUG_OBJECT (basesink, "commiting state to PLAYING"); GST_DEBUG_OBJECT (basesink, "commiting state to PLAYING");
basesink->need_preroll = FALSE; basesink->need_preroll = FALSE;