summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index a20e1f06147..5202f35f4de 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -13534,7 +13534,6 @@ count_field_types(TMP_TABLE_PARAM *param, List<Item> &fields,
param->quick_group=1;
while ((field=li++))
{
- Item::Type type=field->type();
Item::Type real_type= field->real_item()->type();
if (real_type == Item::FIELD_ITEM)
param->field_count++;