cvs: gd /playground/gdbmp gd_bmp.c
| From: | Pierre-Alain Joye | Date: | Fri, 14 Mar 2008 20:38:52 +0000 |
| Subject: | cvs: gd /playground/gdbmp gd_bmp.c | ||
| Groups: | php.gd.cvs | ||
| Request: | Send a blank email to php-gd-cvs+get-451@lists.php.net to get a copy of this message | ||
pajoye Fri Mar 14 20:38:52 2008 UTC
Modified files:
/gd/playground/gdbmp gd_bmp.c
Log:
- nuke unused variable
http://cvs.php.net/viewvc.cgi/gd/playground/gdbmp/gd_bmp.c?r1=1.9&r2=1.10&diff_format=u
Index: gd/playground/gdbmp/gd_bmp.c
diff -u gd/playground/gdbmp/gd_bmp.c:1.9 gd/playground/gdbmp/gd_bmp.c:1.10
--- gd/playground/gdbmp/gd_bmp.c:1.9 Fri Mar 14 16:46:34 2008
+++ gd/playground/gdbmp/gd_bmp.c Fri Mar 14 20:38:52 2008
@@ -12,7 +12,7 @@
----------------------------------------------------------------------------
*/
-/* $Id: gd_bmp.c,v 1.9 2008/03/14 16:46:34 scottmac Exp $ */
+/* $Id: gd_bmp.c,v 1.10 2008/03/14 20:38:52 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -224,7 +224,7 @@
static int compress_row(unsigned char *row, int length)
{
- int i = 0, rle_type = 0;
+ int rle_type = 0;
int compressed_length = 0;
int pixel = 0, compressed_run = 0, rle_compression = 0;
unsigned char *uncompressed_row = NULL, *uncompressed_rowp = NULL;