Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib
Modified Files:
blend.c font_draw.c grad.c image.c rectangle.c
Log Message:
Remove unused variables.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/blend.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- blend.c 15 Apr 2005 07:00:40 -0000 1.3
+++ blend.c 20 Sep 2005 17:22:48 -0000 1.4
@@ -725,7 +725,7 @@
int w, int h, ImlibColorModifier * cm)
{
int src_step = (srcw - w), dst_step = (dstw - w), ww = w;
- DATA8 *amod = cm->alpha_mapping, *rmod = cm->red_mapping,
+ DATA8 *rmod = cm->red_mapping,
*gmod = cm->green_mapping, *bmod = cm->blue_mapping;
while (h--)
@@ -924,7 +924,7 @@
int w, int h, ImlibColorModifier * cm)
{
int src_step = (srcw - w), dst_step = (dstw - w), ww = w;
- DATA8 *amod = cm->alpha_mapping, *rmod = cm->red_mapping,
+ DATA8 *rmod = cm->red_mapping,
*gmod = cm->green_mapping, *bmod = cm->blue_mapping;
while (h--)
@@ -1123,7 +1123,7 @@
int w, int h, ImlibColorModifier * cm)
{
int src_step = (srcw - w), dst_step = (dstw - w), ww = w;
- DATA8 *amod = cm->alpha_mapping, *rmod = cm->red_mapping,
+ DATA8 *rmod = cm->red_mapping,
*gmod = cm->green_mapping, *bmod = cm->blue_mapping;
while (h--)
@@ -1321,7 +1321,7 @@
int w, int h, ImlibColorModifier * cm)
{
int src_step = (srcw - w), dst_step = (dstw - w), ww = w;
- DATA8 *amod = cm->alpha_mapping, *rmod = cm->red_mapping,
+ DATA8 *rmod = cm->red_mapping,
*gmod = cm->green_mapping, *bmod = cm->blue_mapping;
while (h--)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/font_draw.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- font_draw.c 30 Jul 2005 17:54:02 -0000 1.3
+++ font_draw.c 20 Sep 2005 17:22:48 -0000 1.4
@@ -76,7 +76,7 @@
int w, h, ascent;
ImlibImage *im2;
DATA32 *data, col;
- int nx, ny, tmp;
+ int nx, ny;
imlib_font_query_advance(fn, text, &w, &h);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/grad.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- grad.c 1 Nov 2004 09:45:31 -0000 1.1
+++ grad.c 20 Sep 2005 17:22:48 -0000 1.2
@@ -232,11 +232,11 @@
ImlibRange * rg, double angle, ImlibOp op,
int clx, int cly, int clw, int clh)
{
- DATA32 *map, *p, v;
+ DATA32 *map, *p;
int *hlut, *vlut, len = 0, xx, yy, xoff = 0, yoff =
0, ww, hh, jump;
int tmp, i, divw, divh;
- DATA8 rr, gg, bb, aa, r, g, b, a, nr, ng, nb, na;
+ DATA8 r, g, b, a;
ww = w;
hh = h;
@@ -425,11 +425,11 @@
ImlibRange * rg, double angle, ImlibOp op,
int clx, int cly, int clw, int clh)
{
- DATA32 *map, *p, v;
+ DATA32 *map, *p;
int *hlut, *vlut, len = 0, xx, yy, xoff = 0, yoff =
0, ww, hh, jump;
int tmp, i, divw, divh;
- DATA8 rr, gg, bb, aa, r, g, b, a, nr, ng, nb, na;
+ DATA8 r, g, b, a;
ww = w;
hh = h;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/image.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- image.c 4 Sep 2005 20:22:19 -0000 1.3
+++ image.c 20 Sep 2005 17:22:48 -0000 1.4
@@ -557,10 +557,6 @@
}
#endif
-#define LOADERS_UNINITIALISED -4444
-
-static int errors = LOADERS_UNINITIALISED;
-
/* try dlopen()ing the file if we succeed finish filling out the malloced */
/* loader struct and return it */
ImlibLoader *
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/rectangle.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- rectangle.c 1 Nov 2004 09:45:31 -0000 1.1
+++ rectangle.c 20 Sep 2005 17:22:48 -0000 1.2
@@ -15,7 +15,7 @@
ImlibPointDrawFunction pfunc;
ImlibSpanDrawFunction sfunc;
int x0, y0, x1, y1, len;
- DATA32 *p, *pp;
+ DATA32 *p;
if (A_VAL(&color) == 0xff) blend = 0;
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs