[Groonga-commit] groonga/groonga at fcef47e [fix-never-read] Remove unused variable

Back to archive index

HAYASHI Kentaro null+****@clear*****
Sat Dec 13 21:02:46 JST 2014


HAYASHI Kentaro	2014-12-13 21:02:46 +0900 (Sat, 13 Dec 2014)

  New Revision: fcef47ed499f0f3f3022cc255cea2da4cd1fcdb1
  https://github.com/groonga/groonga/commit/fcef47ed499f0f3f3022cc255cea2da4cd1fcdb1

  Message:
    Remove unused variable

  Modified files:
    lib/db.c

  Modified: lib/db.c (+0 -2)
===================================================================
--- lib/db.c    2014-12-12 19:03:13 +0900 (8bc008d)
+++ lib/db.c    2014-12-13 21:02:46 +0900 (8409e3f)
@@ -11039,14 +11039,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����������������������������...
Download 



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