Navigation Menu

Skip to content

Commit

Permalink
Fix build error with "-O2"
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 9, 2013
1 parent 26f5b9e commit a093d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -1464,7 +1464,7 @@ static int mrn_set_geometry(grn_ctx *ctx, grn_obj *buf,
Gis_point *point = (Gis_point *)geometry;
double latitude = 0.0, longitude = 0.0;
#ifdef MRN_HAVE_POINT_XY
point_xy xy;
point_xy xy(0.0, 0.0);
point->get_xy(&xy);
longitude = xy.x;
latitude = xy.y;
Expand Down

0 comments on commit a093d7b

Please sign in to comment.