diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2011-11-18 18:15:06 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2011-11-18 18:15:06 +0400 |
commit | fbb22ca4a703af321c3c592fe62a721c416ec357 (patch) | |
tree | d81e1dac519b96634eb4be9004a23b7f0cd86bae /sql | |
parent | 47022d2ee2f5fc2f3b0b01e79320c812050d7cae (diff) | |
download | mariadb-git-fbb22ca4a703af321c3c592fe62a721c416ec357.tar.gz |
unused variable removed.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item_geofunc.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index c62978f37e2..23b9483233d 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -1666,7 +1666,7 @@ longlong Item_func_srid::val_int() 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_heap::Info *cur_point, *dist_point; const Gcalc_scan_iterator::event_point *ev; @@ -1721,7 +1721,6 @@ double Item_func_distance::val_real() collector.prepare_operation(); scan_it.init(&collector); - above_cur_point= false; distance= DBL_MAX; while (scan_it.more_points()) { |