diff options
| author | George Peter Banyard <girgias@php.net> | 2020-09-24 00:12:08 +0100 |
|---|---|---|
| committer | George Peter Banyard <girgias@php.net> | 2020-10-09 20:54:23 +0100 |
| commit | 3b22b5fdf6cd761eba65140b23d97d9c1f8c9997 (patch) | |
| tree | e401c593e16dc7f741b854cbe07f7e1bf3b0cb35 /ext/mysqlnd | |
| parent | fd1672a7f31cd0d2f385f40fe0e9350c72214ddf (diff) | |
| download | php-git-3b22b5fdf6cd761eba65140b23d97d9c1f8c9997.tar.gz | |
Fix [-Wduplicated-cond] in MySQLnd driver
Changing it to TYPE_C as this is the only other type in the mysqlnd_buffered_type enum
Diffstat (limited to 'ext/mysqlnd')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index 2415b91a3b..5572c73fd6 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -109,7 +109,7 @@ MYSQLND_METHOD(mysqlnd_stmt, store_result)(MYSQLND_STMT * const s) } /* Position at the first row */ set->data_cursor = set->data; - } else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_ZVAL) { + } else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_C) { /*TODO*/ } |
