felipe Sun Jun 22 11:36:46 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/gd gd.c
/php-src/ext/standard type.c
Log:
- Removed unused variables
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.312.2.20.2.32.2.7&r2=1.312.2.20.2.32.2.8&diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.312.2.20.2.32.2.7
php-src/ext/gd/gd.c:1.312.2.20.2.32.2.8
--- php-src/ext/gd/gd.c:1.312.2.20.2.32.2.7 Sun Jun 22 08:06:48 2008
+++ php-src/ext/gd/gd.c Sun Jun 22 11:36:46 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.312.2.20.2.32.2.7 2008/06/22 08:06:48 sebastian Exp $ */
+/* $Id: gd.c,v 1.312.2.20.2.32.2.8 2008/06/22 11:36:46 felipe Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -3267,7 +3267,6 @@
PHP_FUNCTION(imagegammacorrect)
{
zval *IM;
- double inputgamma, outputgamma;
gdImagePtr im;
int i;
double input, output;
@@ -4721,7 +4720,6 @@
char *fn_org = NULL;
char *fn_dest = NULL;
FILE *org, *dest;
- int argc = ZEND_NUM_ARGS();
int dest_height = -1;
int dest_width = -1;
int org_height, org_width;
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/type.c?r1=1.30.2.2.2.3.2.6&r2=1.30.2.2.2.3.2.7&diff_format=u
Index: php-src/ext/standard/type.c
diff -u php-src/ext/standard/type.c:1.30.2.2.2.3.2.6
php-src/ext/standard/type.c:1.30.2.2.2.3.2.7
--- php-src/ext/standard/type.c:1.30.2.2.2.3.2.6 Fri Jun 20 13:02:33 2008
+++ php-src/ext/standard/type.c Sun Jun 22 11:36:46 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: type.c,v 1.30.2.2.2.3.2.6 2008/06/20 13:02:33 felipe Exp $ */
+/* $Id: type.c,v 1.30.2.2.2.3.2.7 2008/06/22 11:36:46 felipe Exp $ */
#include "php.h"
#include "php_incomplete_class.h"
@@ -92,7 +92,6 @@
{
zval **var;
char *type;
- char *new_type;
int type_len = 0;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs", &var, &type,
&type_len) == FAILURE) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php