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

Back to archive index

HAYASHI Kentaro null+****@clear*****
Sat Dec 13 21:59:27 JST 2014


HAYASHI Kentaro	2014-12-13 21:59:27 +0900 (Sat, 13 Dec 2014)

  New Revision: 3275e23fbf81e24dfa8801c1eaab502fb055ba5e
  https://github.com/groonga/groonga/commit/3275e23fbf81e24dfa8801c1eaab502fb055ba5e

  Message:
    Remove unused variable

  Modified files:
    lib/io.c

  Modified: lib/io.c (+0 -2)
===================================================================
--- lib/io.c    2014-12-13 21:44:49 +0900 (565f5c1)
+++ lib/io.c    2014-12-13 21:59:27 +0900 (cd8fad0)
@@ -420,7 +420,6 @@ grn_io_open(grn_ctx *ctx, const char *path, grn_io_mode mode)
   grn_io *io;
   struct stat s;
   fileinfo *fis;
-  uint32_t flags = 0;
   unsigned int b, max_nfiles;
   uint32_t total_header_size;
   uint32_t header_size = 0, segment_size = 0, max_segment = 0, bs;
@@ -435,7 +434,6 @@ grn_io_open(grn_ctx *ctx, const char *path, grn_io_mode mode)
           header_size = h.header_size;
           segment_size = h.segment_size;
           max_segment = h.max_segment;
-          flags = h.flags;
         } else {
           ERR(GRN_INCOMPATIBLE_FILE_FORMAT, "incompatible file format");
         }
-------------- next part --------------
HTML����������������������������...
Descargar 



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