diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-15 23:16:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-16 10:50:05 +0800 |
commit | cae22334fa6bc395ccc421b09e0af94c89297c41 (patch) | |
tree | 84881f467c0448db044d8bb3533e044a7152bb2b /widgets/table/e-cell-pixbuf.c | |
parent | d37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff) | |
download | gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip |
Remove dead assignments found by clang.
Diffstat (limited to 'widgets/table/e-cell-pixbuf.c')
-rw-r--r-- | widgets/table/e-cell-pixbuf.c | 6 |
1 files changed, 1 insertions, 5 deletions
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); |