Commit fbb22ca4 authored by Alexey Botchkov's avatar Alexey Botchkov

unused variable removed.

parent 47022d2e
...@@ -1666,7 +1666,7 @@ longlong Item_func_srid::val_int() ...@@ -1666,7 +1666,7 @@ longlong Item_func_srid::val_int()
double Item_func_distance::val_real() double Item_func_distance::val_real()
{ {
bool above_cur_point, cur_point_edge; bool cur_point_edge;
const Gcalc_scan_iterator::point *evpos; const Gcalc_scan_iterator::point *evpos;
const Gcalc_heap::Info *cur_point, *dist_point; const Gcalc_heap::Info *cur_point, *dist_point;
const Gcalc_scan_iterator::event_point *ev; const Gcalc_scan_iterator::event_point *ev;
...@@ -1721,7 +1721,6 @@ double Item_func_distance::val_real() ...@@ -1721,7 +1721,6 @@ double Item_func_distance::val_real()
collector.prepare_operation(); collector.prepare_operation();
scan_it.init(&collector); scan_it.init(&collector);
above_cur_point= false;
distance= DBL_MAX; distance= DBL_MAX;
while (scan_it.more_points()) while (scan_it.more_points())
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment