From: Ilia Alshanetsky Date: Tue, 5 Nov 2002 14:28:32 +0000 (+0000) Subject: Fix compile warning. X-Git-Tag: php-4.3.0RC1~266 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41a77bccba8f597d694f5b66b289f1bba6529a26;p=php Fix compile warning. --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 70aa530229..f5bf85e7e9 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -1564,8 +1564,10 @@ PHP_FUNCTION(pg_last_oid) zval **result; PGresult *pgsql_result; pgsql_result_handle *pg_result; +#ifdef HAVE_PQOIDVALUE Oid oid; - +#endif + if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &result)==FAILURE) { WRONG_PARAM_COUNT; }