cvs: gd /libgd/src gd_tga.c
[email protected] ("Pierre-Alain Joye") Sat, 05 Jan 2008 20:43:15 -0000
| Newsgroups | php.gd.cvs |
|---|---|
| Message-ID | <cvspajoye1199565795@cvsserver> |
pajoye Sat Jan 5 20:43:15 2008 UTC
Modified files:
/gd/libgd/src gd_tga.c
Log:
- drop unused variables
http://cvs.php.net/viewvc.cgi/gd/libgd/src/gd_tga.c?r1=1.8&r2=1.9&diff_format=u
Index: gd/libgd/src/gd_tga.c
diff -u gd/libgd/src/gd_tga.c:1.8 gd/libgd/src/gd_tga.c:1.9
--- gd/libgd/src/gd_tga.c:1.8 Sat Nov 3 10:41:29 2007
+++ gd/libgd/src/gd_tga.c Sat Jan 5 20:43:15 2008
@@ -39,14 +39,12 @@
BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaCtx(gdIOCtx* ctx)
{
int bitmap_caret = 0;
- int i = 0;
oTga *tga = NULL;
/* int pixel_block_size = 0;
int image_block_size = 0; */
volatile gdImagePtr image = NULL;
int x = 0;
int y = 0;
- int color = 0;
tga = (oTga *) gdMalloc(sizeof(oTga));
if (!tga) {