[Groonga-commit] groonga/groonga at 10f3a00 [master] Remove an unused variable

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Mar 2 14:55:22 JST 2016


Kouhei Sutou	2016-03-02 14:55:22 +0900 (Wed, 02 Mar 2016)

  New Revision: 10f3a0043b91e503889ba7d3f5abc8f10159889c
  https://github.com/groonga/groonga/commit/10f3a0043b91e503889ba7d3f5abc8f10159889c

  Message:
    Remove an unused variable

  Modified files:
    lib/db.c

  Modified: lib/db.c (+0 -2)
===================================================================
--- lib/db.c    2016-03-02 14:31:18 +0900 (db1ab16)
+++ lib/db.c    2016-03-02 14:55:22 +0900 (9465aaf)
@@ -12861,14 +12861,12 @@ brace_close(grn_ctx *ctx, grn_loader *loader)
             if (v->header.domain == GRN_DB_TEXT &&
                 (name_equal(column_name, column_name_size,
                             GRN_COLUMN_NAME_ID))) {
-              grn_obj *id_column;
               grn_obj *id_value;
               if (found_id_column) {
                 GRN_LOG(ctx, GRN_LOG_ERROR, "duplicated '_id' column");
                 goto exit;
               }
               found_id_column = GRN_TRUE;
-              id_column = v;
               v = values_next(ctx, v);
               id_value = v;
               switch (id_value->header.type) {
-------------- next part --------------
HTML����������������������������...
下载 



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