baseparse: Remove unused but set variable
authorRobert Swain <robert.swain@collabora.co.uk>
Fri, 15 Apr 2011 08:53:56 +0000 (10:53 +0200)
committerRobert Swain <robert.swain@collabora.co.uk>
Fri, 15 Apr 2011 08:53:56 +0000 (10:53 +0200)
GCC 4.6.0 spits warnings about these.

libs/gst/base/gstbaseparse.c

index cb3b3c6..cc06dd8 100644 (file)
@@ -1216,14 +1216,11 @@ gst_base_parse_update_bitrates (GstBaseParse * parse, GstBaseParseFrame * frame)
   /* Only update the tag on a 10 kbps delta */
   static const gint update_threshold = 10000;
 
-  GstBaseParseClass *klass;
   guint64 data_len, frame_dur;
   gint overhead, frame_bitrate, old_avg_bitrate;
   gboolean update_min = FALSE, update_avg = FALSE, update_max = FALSE;
   GstBuffer *buffer = frame->buffer;
 
-  klass = GST_BASE_PARSE_GET_CLASS (parse);
-
   overhead = frame->overhead;
   if (overhead == -1)
     return;