diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2008-09-10 01:39:35 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2008-09-10 01:39:35 +0000 |
commit | b3bbaf7d06011618a981c8377d7c374144e507cc (patch) | |
tree | e1200dd1fb158e3d01c91cde05eb1b9b43ab894c /ext/pgsql/pgsql.c | |
parent | c818d0d01341907fee82bdb81cab07b7d93bb9db (diff) | |
download | php-git-b3bbaf7d06011618a981c8377d7c374144e507cc.tar.gz |
Fixed unused var warning
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 2a09f2953e..a1e4f2d4b6 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -3392,7 +3392,7 @@ PHP_FUNCTION(pg_lo_import) int id = -1, name_len; int argc = ZEND_NUM_ARGS(); PGconn *pgsql; - Oid wanted_oid, returned_oid; + Oid returned_oid; if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "rs|z", &pgsql_link, &file_in, &name_len, &oid) == SUCCESS) { @@ -3430,6 +3430,7 @@ PHP_FUNCTION(pg_lo_import) #ifndef HAVE_PG_LO_IMPORT_WITH_OID php_error_docref(NULL TSRMLS_CC, E_NOTICE, "OID value passing not supported"); #else + Oid wanted_oid; switch (Z_TYPE_P(oid)) { case IS_STRING: { |