Kouhei Sutou
null+****@clear*****
Sat Mar 5 22:56:03 JST 2016
Kouhei Sutou 2016-03-05 22:56:03 +0900 (Sat, 05 Mar 2016) New Revision: ec3375ae8cc43c431d31ffde8da4d29cbfb4501f https://github.com/ranguba/rroonga/commit/ec3375ae8cc43c431d31ffde8da4d29cbfb4501f Message: Remove needless condition grn_config_cursor_next() returns boolean value. Modified files: ext/groonga/rb-grn-config.c Modified: ext/groonga/rb-grn-config.c (+1 -1) =================================================================== --- ext/groonga/rb-grn-config.c 2016-03-05 22:55:37 +0900 (e3dbd98) +++ ext/groonga/rb-grn-config.c 2016-03-05 22:56:03 +0900 (d437a61) @@ -199,7 +199,7 @@ rb_grn_config_each (VALUE self) context = rb_grn_context_ensure(&rb_context); cursor = grn_config_cursor_open(context); - while (grn_config_cursor_next(context, cursor) == GRN_TRUE) { + while (grn_config_cursor_next(context, cursor)) { const char *key; uint32_t key_size; const char *value; -------------- next part -------------- HTML����������������������������...ダウンロード