From 0cb5b42d546538b455ac3bbe90b07e3eb67eb820 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 18 Apr 2009 18:11:00 +0200 Subject: Remove trivial unused variables detected by CLang static analyzer. --- gst/alpha/gstalpha.c | 5 ----- gst/alpha/gstalphacolor.c | 3 --- 2 files changed, 8 deletions(-) (limited to 'gst/alpha') diff --git a/gst/alpha/gstalpha.c b/gst/alpha/gstalpha.c index 182f0907..01bcbde8 100644 --- a/gst/alpha/gstalpha.c +++ b/gst/alpha/gstalpha.c @@ -472,11 +472,6 @@ gst_alpha_set_ayuv (guint8 * src, guint8 * dest, gint width, gint height, { gint b_alpha = (gint) (alpha * 255); gint y, x; - gint size; - gint stride; - - stride = gst_video_format_get_row_stride (GST_VIDEO_FORMAT_AYUV, 0, width); - size = gst_video_format_get_size (GST_VIDEO_FORMAT_AYUV, width, height); for (y = 0; y < height; y++) { for (x = 0; x < width; x++) { diff --git a/gst/alpha/gstalphacolor.c b/gst/alpha/gstalphacolor.c index aa2a03fc..a5882946 100644 --- a/gst/alpha/gstalphacolor.c +++ b/gst/alpha/gstalphacolor.c @@ -112,13 +112,10 @@ static GstCaps * gst_alpha_color_transform_caps (GstBaseTransform * btrans, GstPadDirection direction, GstCaps * caps) { - GstAlphaColor *alpha = NULL; const GstCaps *tmpl_caps = NULL; GstCaps *result = NULL, *local_caps = NULL; guint i; - alpha = GST_ALPHA_COLOR (btrans); - local_caps = gst_caps_copy (caps); for (i = 0; i < gst_caps_get_size (local_caps); i++) { -- cgit