[Groonga-commit] groonga/groonga at 2c0ab24 [master] windows: suppress a warning

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Nov 2 14:26:42 JST 2014


Kouhei Sutou	2014-11-02 14:26:42 +0900 (Sun, 02 Nov 2014)

  New Revision: 2c0ab24dc2d567691ac7fc9076e81d85a6815cbb
  https://github.com/groonga/groonga/commit/2c0ab24dc2d567691ac7fc9076e81d85a6815cbb

  Message:
    windows: suppress a warning
    
         mrb.c: In function 'grn_mrb_get_system_ruby_scripts_dir':
         mrb.c:41:11: warning: unused variable 'path' [-Wunused-variable]
              char *path;
                    ^

  Modified files:
    lib/mrb.c

  Modified: lib/mrb.c (+0 -1)
===================================================================
--- lib/mrb.c    2014-11-02 14:25:50 +0900 (60cea14)
+++ lib/mrb.c    2014-11-02 14:26:42 +0900 (3ec1565)
@@ -38,7 +38,6 @@ grn_mrb_get_system_ruby_scripts_dir(void)
   if (!win32_ruby_scripts_dir) {
     const char *base_dir;
     const char *relative_path = GRN_RELATIVE_RUBY_SCRIPTS_DIR;
-    char *path;
     size_t base_dir_length;
 
     base_dir = grn_win32_base_dir();
-------------- next part --------------
HTML����������������������������...
Download 



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