diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:11:00 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:51:28 +0200 |
commit | 0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch) | |
tree | 24b178742be806e745b7a3891aa0d63920c364b4 /gst/videofilter/gstvideobalance.c | |
parent | cdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff) |
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/videofilter/gstvideobalance.c')
-rw-r--r-- | gst/videofilter/gstvideobalance.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c index 2f4ba0b1..7e51ad56 100644 --- a/gst/videofilter/gstvideobalance.c +++ b/gst/videofilter/gstvideobalance.c @@ -259,7 +259,6 @@ gst_video_balance_transform_ip (GstBaseTransform * base, GstBuffer * outbuf) GstVideoBalance *videobalance; guint8 *data; guint size; - gint width, height; videobalance = GST_VIDEO_BALANCE (base); @@ -270,9 +269,6 @@ gst_video_balance_transform_ip (GstBaseTransform * base, GstBuffer * outbuf) data = GST_BUFFER_DATA (outbuf); size = GST_BUFFER_SIZE (outbuf); - width = videobalance->width; - height = videobalance->height; - if (size < videobalance->size) goto wrong_size; @@ -401,7 +397,6 @@ static void gst_video_balance_init (GTypeInstance * instance, gpointer g_class) { GstVideoBalance *videobalance = GST_VIDEO_BALANCE (instance); - GstVideoFilter *videofilter; char *channels[4] = { "HUE", "SATURATION", "BRIGHTNESS", "CONTRAST" }; @@ -409,8 +404,6 @@ gst_video_balance_init (GTypeInstance * instance, gpointer g_class) GST_DEBUG ("gst_video_balance_init"); - videofilter = GST_VIDEO_FILTER (videobalance); - /* do stuff */ videobalance->contrast = DEFAULT_PROP_CONTRAST; videobalance->brightness = DEFAULT_PROP_BRIGHTNESS; |