Skip to content

Commit fc268e1

Browse files
author
Sascha Schumann
committed
void some warnings
1 parent 3736b9b commit fc268e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pgsql/pgsql.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ PHP_FUNCTION(pgsql_result)
865865

866866
static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type)
867867
{
868-
pval *result, *row, *pval_ptr, *arg3;
868+
pval *result, *row, *arg3;
869869
PGresult *pgsql_result;
870870
pgsql_result_handle *pg_result;
871871
int type;
@@ -1455,7 +1455,7 @@ PHP_FUNCTION(pgsql_lo_readall)
14551455
tbytes = 0;
14561456
while ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, 8192))>0) {
14571457
for(i=0; i<nbytes; i++) {
1458-
if (output) PUTC(buf[i]);
1458+
if (output) { (void) PUTC(buf[i]); }
14591459
}
14601460
tbytes += i;
14611461
}

0 commit comments

Comments
 (0)