diff options
Diffstat (limited to 'ext/pgsql/pgsql.c')
| -rw-r--r-- | ext/pgsql/pgsql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 894a63b69a..2e4412c3fd 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -865,7 +865,7 @@ PHP_FUNCTION(pgsql_result) static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) { - pval *result, *row, *pval_ptr, *arg3; + pval *result, *row, *arg3; PGresult *pgsql_result; pgsql_result_handle *pg_result; int type; @@ -1455,7 +1455,7 @@ PHP_FUNCTION(pgsql_lo_readall) tbytes = 0; while ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, 8192))>0) { for(i=0; i<nbytes; i++) { - if (output) PUTC(buf[i]); + if (output) { (void) PUTC(buf[i]); } } tbytes += i; } |
