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. --- ext/gdk_pixbuf/pixbufscale.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/gdk_pixbuf/pixbufscale.c') diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c index b240528d..bf0882c0 100644 --- a/ext/gdk_pixbuf/pixbufscale.c +++ b/ext/gdk_pixbuf/pixbufscale.c @@ -237,11 +237,9 @@ static GstCaps * gst_pixbufscale_transform_caps (GstBaseTransform * trans, GstPadDirection direction, GstCaps * caps) { - GstPixbufScale *pixbufscale; GstCaps *ret; int i; - pixbufscale = GST_PIXBUFSCALE (trans); ret = gst_caps_copy (caps); for (i = 0; i < gst_caps_get_size (ret); i++) { @@ -303,13 +301,10 @@ static gboolean gst_pixbufscale_get_unit_size (GstBaseTransform * trans, GstCaps * caps, guint * size) { - GstPixbufScale *pixbufscale; gint width, height; g_assert (size); - pixbufscale = GST_PIXBUFSCALE (trans); - if (!parse_caps (caps, &width, &height)) return FALSE; -- cgit