Navigation Menu

Skip to content

Commit

Permalink
suppress uninitialized variable warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 28, 2011
1 parent ebee620 commit 315d330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cc
Expand Up @@ -548,7 +548,7 @@ static int mrn_set_geometry(grn_ctx *ctx, grn_obj *buf,
case Geometry::wkb_point:
{
Gis_point *point = (Gis_point *)geometry;
double latitude, longitude;
double latitude = 0.0, longitude = 0.0;
point->get_xy(&longitude, &latitude);
grn_obj_reinit(ctx, buf, GRN_DB_WGS84_GEO_POINT, 0);
GRN_GEO_POINT_SET(ctx, buf,
Expand Down

0 comments on commit 315d330

Please sign in to comment.