changeset 2123:20bf5f007835

Drop unused variable.
author Laurent Monin <zas@norz.org>
date Thu, 30 Aug 2012 14:08:21 +0200
parents 09f2694ce8ac
children 3a6faae4830b
files src/image-overlay.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/image-overlay.c	Thu Aug 30 14:06:24 2012 +0200
+++ b/src/image-overlay.c	Thu Aug 30 14:08:21 2012 +0200
@@ -477,7 +477,6 @@
 	PangoLayout *layout;
 	const gchar *name;
 	gchar *text;
-	GdkPixbuf *imgpixbuf = NULL;
 	gboolean with_hist;
 	const HistMap *histmap;
 	ImageWindow *imd = osd->imd;
@@ -563,12 +562,10 @@
 				{
 				w = gdk_pixbuf_get_width(load_pixbuf);
 				h = gdk_pixbuf_get_height(load_pixbuf);
-				imgpixbuf = load_pixbuf;
 				}
 			else
 				{
 				image_get_image_size(imd, &w, &h);
-				imgpixbuf = (PIXBUF_RENDERER(imd->pr))->pixbuf;
 				}