[Groonga-commit] ranguba/rroonga at 608aac9 [master] Remove needless NULL initialization

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Oct 5 23:18:42 JST 2016


Kouhei Sutou	2016-10-05 23:18:42 +0900 (Wed, 05 Oct 2016)

  New Revision: 608aac9cf040ed14d2fc8195c330259b6b9f16db
  https://github.com/ranguba/rroonga/commit/608aac9cf040ed14d2fc8195c330259b6b9f16db

  Message:
    Remove needless NULL initialization
    
    It's always assigned.

  Modified files:
    ext/groonga/rb-grn-table.c

  Modified: ext/groonga/rb-grn-table.c (+1 -1)
===================================================================
--- ext/groonga/rb-grn-table.c    2016-10-05 23:17:42 +0900 (b4dcfab)
+++ ext/groonga/rb-grn-table.c    2016-10-05 23:18:42 +0900 (a094a4b)
@@ -583,7 +583,7 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
     grn_ctx *context = NULL;
     grn_obj *table;
     grn_obj *columns;
-    grn_obj *key_type = NULL;
+    grn_obj *key_type;
     grn_rc rc;
     int n;
     grn_table_cursor *cursor;
-------------- next part --------------
HTML����������������������������...
Download 



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