kalle Thu Oct 9 18:34:20 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/mssql php_mssql.c
Log:
MFH:
* Fix gcov warnings about parameters not initialized (Thanks for noticing
Felipe!)
* Changed int to be long in mssql_num_fields
http://cvs.php.net/viewvc.cgi/php-src/ext/mssql/php_mssql.c?r1=1.152.2.13.2.4.2.10&r2=1.152.2.13.2.4.2.11&diff_format=u
Index: php-src/ext/mssql/php_mssql.c
diff -u php-src/ext/mssql/php_mssql.c:1.152.2.13.2.4.2.10
php-src/ext/mssql/php_mssql.c:1.152.2.13.2.4.2.11
--- php-src/ext/mssql/php_mssql.c:1.152.2.13.2.4.2.10 Mon Oct 6 21:50:48 2008
+++ php-src/ext/mssql/php_mssql.c Thu Oct 9 18:34:20 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mssql.c,v 1.152.2.13.2.4.2.10 2008/10/06 21:50:48 kalle Exp $ */
+/* $Id: php_mssql.c,v 1.152.2.13.2.4.2.11 2008/10/09 18:34:20 kalle Exp $ */
#ifdef COMPILE_DL_MSSQL
#define HAVE_MSSQL 1
@@ -1322,7 +1322,7 @@
char *query;
zval *mssql_link_index = NULL;
int query_len, retvalue, batchsize, num_fields;
- long zbatchsize;
+ long zbatchsize = 0;
mssql_link *mssql_ptr;
mssql_result *result;
int id = -1;
@@ -1490,7 +1490,8 @@
{
zval *mssql_result_index;
mssql_result *result;
- int i, resulttype;
+ int i;
+ long resulttype = 0;
switch (result_type) {
case MSSQL_NUM:
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php