[Groonga-commit] groonga/groonga at edd45d4 [master] grn_ts: comment out unused functions

Back to archive index

susumu.yata null+****@clear*****
Wed Sep 9 17:17:35 JST 2015


susumu.yata	2015-09-09 17:17:35 +0900 (Wed, 09 Sep 2015)

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

  Message:
    grn_ts: comment out unused functions

  Modified files:
    lib/ts.c

  Modified: lib/ts.c (+4 -0)
===================================================================
--- lib/ts.c    2015-09-09 17:16:58 +0900 (c146d44)
+++ lib/ts.c    2015-09-09 17:17:35 +0900 (14e6e15)
@@ -58,6 +58,7 @@ grn_ts_buf_init(grn_ctx *ctx, grn_ts_buf *buf) {
 }
 
 /* grn_ts_buf_open() creates a buffer. */
+/*
 static grn_rc
 grn_ts_buf_open(grn_ctx *ctx, grn_ts_buf **buf) {
   grn_ts_buf *new_buf = GRN_MALLOCN(grn_ts_buf, 1);
@@ -68,6 +69,7 @@ grn_ts_buf_open(grn_ctx *ctx, grn_ts_buf **buf) {
   *buf = new_buf;
   return GRN_SUCCESS;
 }
+*/
 
 /* grn_ts_buf_fin() finalizes a buffer. */
 static void
@@ -78,12 +80,14 @@ grn_ts_buf_fin(grn_ctx *ctx, grn_ts_buf *buf) {
 }
 
 /* grn_ts_buf_close() destroys a buffer. */
+/*
 static void
 grn_ts_buf_close(grn_ctx *ctx, grn_ts_buf *buf) {
   if (buf) {
     grn_ts_buf_fin(ctx, buf);
   }
 }
+*/
 
 /*
  * grn_ts_buf_reserve() reserves enough memory to store new_size bytes.
-------------- next part --------------
HTML����������������������������...
Download 



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