diff options
| author | Sascha Schumann <sas@php.net> | 1999-07-17 12:56:38 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-07-17 12:56:38 +0000 |
| commit | fc268e1c7e113fb6f1eaed21ff94be3c1fab6e00 (patch) | |
| tree | a280f7af69ab55c6d34b9df67c325207a0c524f6 /ext/pgsql/pgsql.c | |
| parent | 3736b9b7ce5dbe135ffeb514b29509b5da541c5b (diff) | |
| download | php-git-fc268e1c7e113fb6f1eaed21ff94be3c1fab6e00.tar.gz | |
void some warnings
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; } |
