hedgewars/uTextures.pas
changeset 6305 5f7480c2a08d
parent 6303 3edb3c857995
child 6380 1ff5ad1d771b
--- a/hedgewars/uTextures.pas	Sun Nov 06 13:17:42 2011 -0500
+++ b/hedgewars/uTextures.pas	Sun Nov 06 13:53:25 2011 -0500
@@ -100,8 +100,7 @@
 end;
 
 procedure Surface2GrayScale(surf: PSDL_Surface);
-var tw, th, x, y: Longword;
-    tmpp: pointer;
+var tw, x, y: Longword;
     fromP4: PLongWordArray;
 begin
 fromP4:= Surf^.pixels;