diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-10-08 05:07:55 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-10-08 05:07:55 +0000 |
commit | 07e7719441f5927bc3c482717fc53f8529186e3a (patch) | |
tree | 4baea8ab1c47987dc80120c67cb16be141a16b8d /contrib | |
parent | e4581869b4a93ab882439673159a8f77b2396e57 (diff) | |
download | gdk-pixbuf-07e7719441f5927bc3c482717fc53f8529186e3a.tar.gz |
Apply a cleanup patch by Kjartan Maraas (#341812)
2006-10-08 Matthias Clasen <mclasen@redhat.com>
* Apply a cleanup patch by Kjartan Maraas (#341812)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c b/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c index 38ad9b20b..92f8c8d02 100644 --- a/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c +++ b/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c @@ -152,7 +152,6 @@ rgb1 (XImage *image, guchar *pixels, int rowstride, xlib_colormap *colormap) int xx, yy; int width, height; int bpl; - guint8 *s; register guint8 data; guint8 *o; guint8 *srow = image->data, *orow = pixels; @@ -167,7 +166,6 @@ rgb1 (XImage *image, guchar *pixels, int rowstride, xlib_colormap *colormap) bpl = image->bytes_per_line; for (yy = 0; yy < height; yy++) { - s = srow; o = orow; for (xx = 0; xx < width; xx ++) { @@ -191,7 +189,6 @@ rgb1a (XImage *image, guchar *pixels, int rowstride, xlib_colormap *colormap) int xx, yy; int width, height; int bpl; - guint8 *s; register guint8 data; guint8 *o; guint8 *srow = image->data, *orow = pixels; @@ -221,7 +218,6 @@ rgb1a (XImage *image, guchar *pixels, int rowstride, xlib_colormap *colormap) } for (yy = 0; yy < height; yy++) { - s = srow; o = orow; for (xx = 0; xx < width; xx ++) { @@ -988,7 +984,6 @@ convert_real_slow (XImage *image, guchar *pixels, int rowstride, xlib_colormap * int width, height; int bpl; guint8 *srow = image->data, *orow = pixels; - guint8 *s; guint8 *o; guint32 pixel; Visual *v; @@ -1011,7 +1006,6 @@ convert_real_slow (XImage *image, guchar *pixels, int rowstride, xlib_colormap * red_prec, green_prec, blue_prec)); for (yy = 0; yy < height; yy++) { - s = srow; o = orow; for (xx = 0; xx < width; xx++) { pixel = XGetPixel (image, xx, yy); |