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:
Peter Kokot 2024-06-22 00:09:21 +02:00 committed by GitHub
parent 05f3304b48
commit 678a481f62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -727,6 +727,7 @@ static int pgsql_stmt_get_attr(pdo_stmt_t *stmt, zend_long attr, zval *val)
#endif #endif
default: default:
(void)S;
return 0; return 0;
} }
} }