null+****@clear*****
null+****@clear*****
2011年 11月 13日 (日) 14:11:26 JST
Kouhei Sutou 2011-11-13 05:11:26 +0000 (Sun, 13 Nov 2011) New Revision: 7d4a12f6888cf1d2edc92619333957ad914ac214 Log: [test] remove unused variables. Modified files: test/unit/core/test-geo-in-rectangle.c test/unit/core/test-geo.c Modified: test/unit/core/test-geo-in-rectangle.c (+1 -1) =================================================================== --- test/unit/core/test-geo-in-rectangle.c 2011-11-13 04:49:31 +0000 (1aecc94) +++ test/unit/core/test-geo-in-rectangle.c 2011-11-13 05:11:26 +0000 (7a0e4dc) @@ -39,7 +39,7 @@ static grn_ctx *context; static grn_obj *database, *shops, *location_index, *result; #define DEFINE_GEO_POINT(name) \ - static grn_obj *name, *name ## _wgs84, *name ## _text + static grn_obj *name ## _wgs84, *name ## _text DEFINE_GEO_POINT(nezu_no_taiyaki); DEFINE_GEO_POINT(takane); DEFINE_GEO_POINT(sazare); Modified: test/unit/core/test-geo.c (+3 -1) =================================================================== --- test/unit/core/test-geo.c 2011-11-13 04:49:31 +0000 (9908e35) +++ test/unit/core/test-geo.c 2011-11-13 05:11:26 +0000 (eda0580) @@ -40,7 +40,7 @@ static grn_ctx *context; static grn_obj *database; #define DEFINE_GEO_POINT(name) \ - static grn_obj *name, *name ## _tokyo, *name ## _wgs84, *name ## _text + static grn_obj *name ## _tokyo, *name ## _wgs84, *name ## _text DEFINE_GEO_POINT(nezu_no_taiyaki); DEFINE_GEO_POINT(takane); DEFINE_GEO_POINT(sazare); @@ -50,6 +50,8 @@ DEFINE_GEO_POINT(tokyo); DEFINE_GEO_POINT(shinjuku); #undef DEFINE_GEO_POINT +static grn_obj *takane, *shinjuku; + void cut_startup(void) {