[Groonga-commit] groonga/groonga at ee8a3cb [master] Indent

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Tue Jun 11 13:59:09 JST 2013


Kouhei Sutou	2013-06-11 13:59:09 +0900 (Tue, 11 Jun 2013)

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

  Message:
    Indent

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+10 -10)
===================================================================
--- lib/expr.c    2013-06-11 13:58:35 +0900 (91971cf)
+++ lib/expr.c    2013-06-11 13:59:09 +0900 (6eb7923)
@@ -466,16 +466,16 @@ grn_expr_unpack(grn_ctx *ctx, const uint8_t *p, const uint8_t *pe, grn_obj *expr
     case GRN_EXPR_PACK_TYPE_OTHERS :
       {
         uint32_t object_type;
-      GRN_B_DEC(object_type, p);
-      if (GRN_TYPE <= object_type && object_type <= GRN_COLUMN_INDEX) {
-        grn_id id;
-        GRN_B_DEC(id, p);
-        code->value = grn_ctx_at(ctx, id);
-      } else {
-        if (!(v = const_new(ctx, e))) { return NULL; }
-        p = grn_obj_unpack(ctx, p, pe, object_type, GRN_OBJ_EXPRCONST, v);
-        code->value = v;
-      }
+        GRN_B_DEC(object_type, p);
+        if (GRN_TYPE <= object_type && object_type <= GRN_COLUMN_INDEX) {
+          grn_id id;
+          GRN_B_DEC(id, p);
+          code->value = grn_ctx_at(ctx, id);
+        } else {
+          if (!(v = const_new(ctx, e))) { return NULL; }
+          p = grn_obj_unpack(ctx, p, pe, object_type, GRN_OBJ_EXPRCONST, v);
+          code->value = v;
+        }
       }
       break;
     }
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る