We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3736b9b commit fc268e1Copy full SHA for fc268e1
ext/pgsql/pgsql.c
@@ -865,7 +865,7 @@ PHP_FUNCTION(pgsql_result)
865
866
static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type)
867
{
868
- pval *result, *row, *pval_ptr, *arg3;
+ pval *result, *row, *arg3;
869
PGresult *pgsql_result;
870
pgsql_result_handle *pg_result;
871
int type;
@@ -1455,7 +1455,7 @@ PHP_FUNCTION(pgsql_lo_readall)
1455
tbytes = 0;
1456
while ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, 8192))>0) {
1457
for(i=0; i<nbytes; i++) {
1458
- if (output) PUTC(buf[i]);
+ if (output) { (void) PUTC(buf[i]); }
1459
}
1460
tbytes += i;
1461
0 commit comments