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 /ext/gdk_pixbuf | |
parent | cdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff) |
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'ext/gdk_pixbuf')
-rw-r--r-- | ext/gdk_pixbuf/gstgdkpixbuf.c | 8 | ||||
-rw-r--r-- | ext/gdk_pixbuf/pixbufscale.c | 5 |
2 files changed, 0 insertions, 13 deletions
diff --git a/ext/gdk_pixbuf/gstgdkpixbuf.c b/ext/gdk_pixbuf/gstgdkpixbuf.c index d35c2cb5..65605fff 100644 --- a/ext/gdk_pixbuf/gstgdkpixbuf.c +++ b/ext/gdk_pixbuf/gstgdkpixbuf.c @@ -420,10 +420,6 @@ static void gst_gdk_pixbuf_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - GstGdkPixbuf *filter; - - filter = GST_GDK_PIXBUF (object); - switch (prop_id) { case ARG_SILENT: /* filter->silent = g_value_get_boolean (value); */ @@ -438,10 +434,6 @@ static void gst_gdk_pixbuf_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - GstGdkPixbuf *filter; - - filter = GST_GDK_PIXBUF (object); - switch (prop_id) { case ARG_SILENT: /* g_value_set_boolean (value, filter->silent); */ 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; |