mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix unused variable warning when using libpq < 12 (#14630)
The variable S is not used if PQresultMemorySize is not available in this switch at this point.
This commit is contained in:
parent
05f3304b48
commit
678a481f62
1 changed files with 1 additions and 0 deletions
|
@ -727,6 +727,7 @@ static int pgsql_stmt_get_attr(pdo_stmt_t *stmt, zend_long attr, zval *val)
|
|||
#endif
|
||||
|
||||
default:
|
||||
(void)S;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue