[Groonga-commit] groonga/groonga at 2cebb19 [master] mrb: use meaningful name

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jun 29 00:23:21 JST 2015


Kouhei Sutou	2015-06-29 00:23:21 +0900 (Mon, 29 Jun 2015)

  New Revision: 2cebb19919ea11bb633ce7270ab043d1814a4c5f
  https://github.com/groonga/groonga/commit/2cebb19919ea11bb633ce7270ab043d1814a4c5f

  Message:
    mrb: use meaningful name

  Modified files:
    lib/mrb/mrb_table_sort_key.c

  Modified: lib/mrb/mrb_table_sort_key.c (+4 -4)
===================================================================
--- lib/mrb/mrb_table_sort_key.c    2015-06-29 00:22:48 +0900 (87966db)
+++ lib/mrb/mrb_table_sort_key.c    2015-06-29 00:23:21 +0900 (823d1c9)
@@ -51,11 +51,11 @@ mrb_grn_table_sort_key_initialize(mrb_state *mrb, mrb_value self)
 static mrb_value
 mrb_grn_table_sort_key_close(mrb_state *mrb, mrb_value self)
 {
-  grn_table_sort_key *result;
+  grn_table_sort_key *sort_key;
 
-  result = DATA_PTR(self);
-  if (result) {
-    mrb_free(mrb, result);
+  sort_key = DATA_PTR(self);
+  if (sort_key) {
+    mrb_free(mrb, sort_key);
     DATA_PTR(self) = NULL;
   }
 
-------------- next part --------------
HTML����������������������������...
Download 



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