Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src/modules/loaders


Modified Files:
        loader_bmp.c loader_lbm.c loader_tga.c 


Log Message:
Remove unused variables.

===================================================================
RCS file: /cvs/e/e17/libs/imlib2/src/modules/loaders/loader_bmp.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- loader_bmp.c        22 Mar 2006 02:08:39 -0000      1.6
+++ loader_bmp.c        6 Sep 2006 07:09:05 -0000       1.7
@@ -126,7 +126,7 @@
    char                type[2];
    unsigned long       size, offset, headSize, comp, imgsize, j, k, l;
    unsigned short      tmpShort, planes, bitcount, ncols, skip;
-   unsigned char       tempchar, byte = 0, g, b, r;
+   unsigned char       byte = 0, g, b, r;
    unsigned long       i, w, h;
    unsigned short      x, y;
    DATA32             *ptr, *data_end;
@@ -806,7 +806,7 @@
 {
    FILE               *f;
    Imlib_Color         pixel_color;
-   unsigned long       i, j, pad, size;
+   unsigned long       i, j, pad;
 
    if (!im->data)
       return 0;
===================================================================
RCS file: /cvs/e/e17/libs/imlib2/src/modules/loaders/loader_lbm.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- loader_lbm.c        1 Nov 2004 09:45:31 -0000       1.1
+++ loader_lbm.c        6 Sep 2006 07:09:05 -0000       1.2
@@ -268,7 +268,7 @@
 static void deplane(DATA32 *row, int w, ILBM *ilbm, unsigned char *plane[])
 {
 unsigned long l;
-int     i, o, sl, x;
+int     i, o, x;
 unsigned char bit, r, g, b, a, v, h, *pal;
 
     pal = NULL;
@@ -395,7 +395,7 @@
 char    load(ImlibImage *im, ImlibProgressFunction progress, char 
progress_granularity, char immediate_load)
 {
 char    *env;
-int     cancel, full, i, j, k, n, ok, y, z, gran, nexty, prevy;
+int     cancel, full, i, n, ok, y, z, gran, nexty, prevy;
 unsigned char *plane[40];
 ILBM    ilbm;
 
===================================================================
RCS file: /cvs/e/e17/libs/imlib2/src/modules/loaders/loader_tga.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- loader_tga.c        27 Dec 2004 21:05:32 -0000      1.2
+++ loader_tga.c        6 Sep 2006 07:09:05 -0000       1.3
@@ -321,8 +321,7 @@
         unsigned char      *bufptr;
         DATA32             *dataptr;
 
-        int                 y, pl = 0;
-        char                pper = 0;
+        int                 y;
 
         /* allocate the destination buffer */
         im->data = malloc(im->w * im->h * sizeof(DATA32));
@@ -409,9 +408,6 @@
               }
             if (progress)
               {
-                 char                per;
-                 int                 l;
-                 
                  progress(im, 100, 0, 0, im->w, im->h);
               } /* end for (each row) */
           }
@@ -519,9 +515,6 @@
              if (vinverted) tgaflip(im->data, im->w, im->h);
             if (progress)
               {
-                 char                per;
-                 int                 l;
-                 
                  progress(im, 100, 0, 0, im->w, im->h);
               } /* end for (each row) */
           }



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to