lbarnaudTue Oct 21 23:39:16 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/bcmath bcmath.c
/php-src/ext/bz2bz2.c
/php-src/ext/curl interface.c
/php-src/ext/date php_date.c
/php-src/ext/domdomimplementation.c
/php-src/ext/exif exif.c
/php-src/ext/gd gd.c
/php-src/ext/opensslopenssl.c
/php-src/ext/simplexml simplexml.c
/php-src/ext/soap soap.c
/php-src/ext/socketssockets.c
/php-src/ext/sysvshmsysvshm.c
/php-src/ext/zipphp_zip.c
Log:
MFH: initialize optional vars
http://cvs.php.net/viewvc.cgi/php-src/ext/bcmath/bcmath.c?r1=1.62.2.2.2.8.2.3r2=1.62.2.2.2.8.2.4diff_format=u
Index: php-src/ext/bcmath/bcmath.c
diff -u php-src/ext/bcmath/bcmath.c:1.62.2.2.2.8.2.3
php-src/ext/bcmath/bcmath.c:1.62.2.2.2.8.2.4
--- php-src/ext/bcmath/bcmath.c:1.62.2.2.2.8.2.3Tue Jun 24 16:01:32 2008
+++ php-src/ext/bcmath/bcmath.c Tue Oct 21 23:39:14 2008
@@ -16,7 +16,7 @@
+--+
*/
-/* $Id: bcmath.c,v 1.62.2.2.2.8.2.3 2008/06/24 16:01:32 felipe Exp $ */
+/* $Id: bcmath.c,v 1.62.2.2.2.8.2.4 2008/10/21 23:39:14 lbarnaud Exp $ */
#ifdef HAVE_CONFIG_H
#include config.h
@@ -215,7 +215,7 @@
PHP_FUNCTION(bcadd)
{
char *left, *right;
- long scale_param;
+ long scale_param = 0;
bc_num first, second, result;
int left_len, right_len;
int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS();
@@ -255,7 +255,7 @@
{
char *left, *right;
int left_len, right_len;
- long scale_param;
+ long scale_param = 0;
bc_num first, second, result;
int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS();
@@ -294,7 +294,7 @@
{
char *left, *right;
int left_len, right_len;
- long scale_param;
+ long scale_param = 0;
bc_num first, second, result;
int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS();
@@ -333,7 +333,7 @@
{
char *left, *right;
int left_len, right_len;
- long scale_param;
+ long scale_param = 0;
bc_num first, second, result;
int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS();
@@ -457,7 +457,7 @@
{
char *left, *right;
int left_len, right_len;
- long scale_param;
+ long scale_param = 0;
bc_num first, second, result;
int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS();
@@ -496,7 +496,7 @@
{
char *left;
int left_len;
- long scale_param;
+ long scale_param = 0;
bc_num result;
int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS();
@@ -533,7 +533,7 @@
{
char *left, *right;
int left_len, right_len;
- long scale_param;
+ long scale_param = 0;
bc_num first, second;
int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS();
http://cvs.php.net/viewvc.cgi/php-src/ext/bz2/bz2.c?r1=1.14.2.3.2.12.2.6r2=1.14.2.3.2.12.2.7diff_format=u
Index: php-src/ext/bz2/bz2.c
diff -u php-src/ext/bz2/bz2.c:1.14.2.3.2.12.2.6
php-src/ext/bz2/bz2.c:1.14.2.3.2.12.2.7
--- php-src/ext/bz2/bz2.c:1.14.2.3.2.12.2.6 Wed Jul 23 11:25:14 2008
+++ php-src/ext/bz2/bz2.c Tue Oct 21 23:39:14 2008
@@ -16,7 +16,7 @@
+--+
*/
-/* $Id: bz2.c,v 1.14.2.3.2.12.2.6 2008/07/23 11:25:14 tony2001 Exp $ */
+/* $Id: bz2.c,v 1.14.2.3.2.12.2.7 2008/10/21 23:39:14 lbarnaud Exp $ */
#ifdef HAVE_CONFIG_H
#include config.h
@@ -482,8 +482,8 @@
static PHP_FUNCTION(bzcompress)
{
char *source; /* Source data to compress */
- long zblock_size; /* Optional block size to use */
- long zwork_factor;/* Optional work factor to use */
+ long zblock_size = 0; /* Optional block size to use */
+ long zwork_factor = 0;/* Optional work factor to use */
char *dest = NULL; /* Destination to place the
compressed data into */
int error, /* Error Container */
block_size = 4, /* Block size for
compression algorithm */
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/interface.c?r1=1.62.2.14.2.27.2.12r2=1.62.2.14.2.27.2.13diff_format=u
Index: php-src/ext/curl/interface.c
diff -u php-src/ext/curl/interface.c:1.62.2.14.2.27.2.12
php-src/ext/curl/interface.c:1.62.2.14.2.27.2.13
--- php-src/ext/curl/interface.c:1.62.2.14.2.27.2.12Tue Jul 29 10:42:44 2008
+++ php-src/ext/curl/interface.cTue Oct 21 23:39:14 2008
@@ -16,7 +16,7 @@
+--+
*/
-/* $Id: interface.c,v 1.62.2.14.2.27.2.12 2008/07/29 10:42:44 tony2001 Exp $ */
+/* $Id: interface.c,v 1.62.2.14.2.27.2.13 2008/10/21 23:39:14 lbarnaud Exp $ */