mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
MFB: fixed compiler warnings
This commit is contained in:
parent
9da991dd50
commit
56742f85a5
2 changed files with 4 additions and 1 deletions
|
@ -158,8 +158,9 @@ static int pgsql_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC)
|
|||
static int pgsql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *param,
|
||||
enum pdo_param_event event_type TSRMLS_DC)
|
||||
{
|
||||
pdo_pgsql_stmt *S = (pdo_pgsql_stmt*)stmt->driver_data;
|
||||
#if HAVE_PQPREPARE
|
||||
pdo_pgsql_stmt *S = (pdo_pgsql_stmt*)stmt->driver_data;
|
||||
|
||||
if (S->stmt_name && param->is_param) {
|
||||
switch (event_type) {
|
||||
case PDO_PARAM_EVT_ALLOC:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue