Skip to content

Commit ae48ad5

Browse files
committed
Fix [-Wduplicated-cond] in MySQLnd driver
Changing it to TYPE_C as this is the only other type in the mysqlnd_buffered_type enum
1 parent a9fb836 commit ae48ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_ps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ MYSQLND_METHOD(mysqlnd_stmt, store_result)(MYSQLND_STMT * const s)
109109
}
110110
/* Position at the first row */
111111
set->data_cursor = set->data;
112-
} else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_ZVAL) {
112+
} else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_C) {
113113
/*TODO*/
114114
}
115115

0 commit comments

Comments
 (0)