Kouhei Sutou
null+****@clear*****
Thu Oct 4 11:18:49 JST 2012
Kouhei Sutou 2011-11-29 00:36:48 +0900 (Tue, 29 Nov 2011) New Revision: 315d330e0e8394e4874979c29eac5b02aacad8f6 https://github.com/mroonga/mroonga/commit/315d330e0e8394e4874979c29eac5b02aacad8f6 Log: suppress uninitialized variable warnings. Modified files: ha_mroonga.cc Modified: ha_mroonga.cc (+1 -1) =================================================================== --- ha_mroonga.cc 2011-11-29 00:33:40 +0900 (d57c6e5) +++ ha_mroonga.cc 2011-11-29 00:36:48 +0900 (511542a) @@ -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, -------------- next part -------------- HTML����������������������������...Download