1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01: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:
Peter Kokot
2024-06-22 00:09:21 +02:00
committed by GitHub
parent 05f3304b48
commit 678a481f62

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;
} }
} }