From cae22334fa6bc395ccc421b09e0af94c89297c41 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 15 Jan 2010 10:16:25 -0500 Subject: Remove dead assignments found by clang. --- widgets/table/e-cell-pixbuf.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'widgets/table/e-cell-pixbuf.c') diff --git a/widgets/table/e-cell-pixbuf.c b/widgets/table/e-cell-pixbuf.c index 666f556ec3..3f7ee1d378 100644 --- a/widgets/table/e-cell-pixbuf.c +++ b/widgets/table/e-cell-pixbuf.c @@ -114,7 +114,7 @@ pixbuf_draw (ECellView *ecell_view, GdkDrawable *drawable, gint x1, gint y1, gint x2, gint y2) { GdkPixbuf *cell_pixbuf; - gint real_x, real_y, real_w, real_h; + gint real_x, real_y; gint pix_w, pix_h; cairo_t *cr; @@ -136,19 +136,15 @@ pixbuf_draw (ECellView *ecell_view, GdkDrawable *drawable, if (x2 - x1 > pix_w) { gint diff = (x2 - x1) - pix_w; real_x = x1 + diff/2; - real_w = pix_w; } else { real_x = x1; - real_w = x2 - x1; } if (y2 - y1 > pix_h) { gint diff = (y2 - y1) - pix_h; real_y = y1 + diff/2; - real_h = pix_h; } else { real_y = y1; - real_h = y2 - y1; } cr = gdk_cairo_create (drawable); -- cgit v1.2.3