cvs: php4 /ext/pgsql pgsql.c
| From: | Marcus B�rger | Date: | Thu, 24 Oct 2002 19:05:30 +0000 |
| Subject: | cvs: php4 /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15385@lists.php.net to get a copy of this message | ||
helly Thu Oct 24 15:05:30 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
fix compiler warning
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.241 php4/ext/pgsql/pgsql.c:1.242
--- php4/ext/pgsql/pgsql.c:1.241 Sat Oct 19 08:58:41 2002
+++ php4/ext/pgsql/pgsql.c Thu Oct 24 15:05:29 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.241 2002/10/19 12:58:41 derick Exp $ */
+/* $Id: pgsql.c,v 1.242 2002/10/24 19:05:29 helly Exp $ */
#include <stdlib.h>
@@ -3048,7 +3048,7 @@
PHP_FUNCTION(pg_get_pid)
{
zval *pgsql_link;
- int id = -1, pid;
+ int id = -1;
PGconn *pgsql;
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "r",