summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-06-19 10:46:23 +0800
committerXinchen Hui <laruence@php.net>2014-06-19 10:46:23 +0800
commit27e8e11ff97e9932957b8fd47ddc059f7f08acde (patch)
tree48edbe4813c8fd02138c3b47f13cbd5f0b70516a /ext/mysqlnd/mysqlnd_wireprotocol.c
parent17f35c9a295a55b8af09a5c8ba7dbc8894d3861b (diff)
downloadphp-git-27e8e11ff97e9932957b8fd47ddc059f7f08acde.tar.gz
unused variables
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index 72c7703d0b..f8a4e6ade6 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -1626,8 +1626,6 @@ php_mysqlnd_rowp_read_text_protocol_aux(MYSQLND_MEMORY_POOL_CHUNK * row_buffer,
end_field = (start_field = fields) + field_count;
for (i = 0, current_field = start_field; current_field < end_field; current_field++, i++) {
- /* Don't reverse the order. It is significant!*/
- zend_uchar *this_field_len_pos = p;
/* php_mysqlnd_net_field_length() call should be after *this_field_len_pos = p; */
unsigned long len = php_mysqlnd_net_field_length(&p);