From 3b22b5fdf6cd761eba65140b23d97d9c1f8c9997 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 24 Sep 2020 00:12:08 +0100 Subject: [PATCH] Fix [-Wduplicated-cond] in MySQLnd driver Changing it to TYPE_C as this is the only other type in the mysqlnd_buffered_type enum --- ext/mysqlnd/mysqlnd_ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*/ } -- 2.50.1