[Groonga-mysql-commit] mroonga/mroonga at a093d7b [master] Fix build error with "-O2"

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jun 9 09:05:14 JST 2013


Kouhei Sutou	2013-06-09 09:05:14 +0900 (Sun, 09 Jun 2013)

  New Revision: a093d7ba45fce7d9a3057784578b08822b314473
  https://github.com/mroonga/mroonga/commit/a093d7ba45fce7d9a3057784578b08822b314473

  Message:
    Fix build error with "-O2"
    
    https://gist.github.com/y-ken/6fd4721b53205631bd49
    
    Reported by Y.Kentaro. Thanks!!!

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-06-09 08:42:18 +0900 (61f6a69)
+++ ha_mroonga.cpp    2013-06-09 09:05:14 +0900 (388f077)
@@ -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;
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-mysql-commit mailing list
Back to archive index