aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-03-17 02:51:15 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-17 19:54:34 +0800
commit88e09c99733982de201c3c1cfbf4742a0e8662b1 (patch)
treede0f99c45903453a776091f69be212125c4f6688 /libempathy-gtk/empathy-ui-utils.c
parent95a0ab7d884a6500cfba6ff63fea73269faec0da (diff)
downloadgsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar
gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.gz
gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.bz2
gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.lz
gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.xz
gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.zst
gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.zip
Fix warnings from GCC 4.6 about variables that are set but not used.
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 8dbf6afd9..89c6c09ae 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -405,11 +405,10 @@ empathy_avatar_pixbuf_roundify (GdkPixbuf *pixbuf)
static gboolean
empathy_gdk_pixbuf_is_opaque (GdkPixbuf *pixbuf)
{
- gint width, height, rowstride, i;
+ gint height, rowstride, i;
guchar *pixels;
guchar *row;
- width = gdk_pixbuf_get_width (pixbuf);
height = gdk_pixbuf_get_height (pixbuf);
rowstride = gdk_pixbuf_get_rowstride (pixbuf);
pixels = gdk_pixbuf_get_pixels (pixbuf);