]> git.imager.perl.org - imager.git/commitdiff
clean up some unused variables
authorTony Cook <tony@develop=help.com>
Tue, 1 Apr 2008 08:13:09 +0000 (08:13 +0000)
committerTony Cook <tony@develop=help.com>
Tue, 1 Apr 2008 08:13:09 +0000 (08:13 +0000)
paste.im
rubthru.im

index 45305df37a9f89af5dadd4a8f5b00dd60bd94b80..669c6ca9913575cae10d08c4173546141b92eb07 100644 (file)
--- a/paste.im
+++ b/paste.im
@@ -16,7 +16,7 @@ If x1 > x2 or y1 > y2 then the corresponding co-ordinates are swapped.
 
 void
 i_copyto(i_img *im, i_img *src, int x1, int y1, int x2, int y2, int tx, int ty) {
 
 void
 i_copyto(i_img *im, i_img *src, int x1, int y1, int x2, int y2, int tx, int ty) {
-  int x, y, t, ttx, tty;
+  int y, t, ttx, tty;
   
   if (x2<x1) { t=x1; x1=x2; x2=t; }
   if (y2<y1) { t=y1; y1=y2; y2=t; }
   
   if (x2<x1) { t=x1; x1=x2; x2=t; }
   if (y2<y1) { t=y1; y1=y2; y2=t; }
@@ -69,7 +69,6 @@ i_adapt_fcolors
 #endif
 (int out_channels, int in_channels, IM_COLOR *colors, 
               size_t count) {
 #endif
 (int out_channels, int in_channels, IM_COLOR *colors, 
               size_t count) {
-  int i;
   if (out_channels == in_channels)
     return;
   if (count == 0)
   if (out_channels == in_channels)
     return;
   if (count == 0)
index 27a4da47f3728ee0813924a5944fa066c4cbdc71..4c3b08e77727da97e053db43acf3115f55c0af1e 100644 (file)
@@ -52,7 +52,6 @@ rubthru_targ_noalpha(i_img *im, i_img *src,
       }
       ++srcp;
       ++destp;
       }
       ++srcp;
       ++destp;
-      ttx;
     }
     IM_PLIN(im, tx, tx + width, tty, dest_line);
     tty++;
     }
     IM_PLIN(im, tx, tx + width, tty, dest_line);
     tty++;