[Groonga-commit] groonga/groonga at 37c3b47 [master] Remove needless return

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 1 10:40:22 JST 2017


Kouhei Sutou	2017-11-01 10:40:22 +0900 (Wed, 01 Nov 2017)

  New Revision: 37c3b47e84191297765bbbece078145dd119dac3
  https://github.com/groonga/groonga/commit/37c3b47e84191297765bbbece078145dd119dac3

  Message:
    Remove needless return

  Modified files:
    lib/cache.c

  Modified: lib/cache.c (+2 -2)
===================================================================
--- lib/cache.c    2017-11-01 10:07:59 +0900 (38238f689)
+++ lib/cache.c    2017-11-01 10:40:22 +0900 (4d113a5b2)
@@ -705,9 +705,9 @@ grn_cache_get_statistics(grn_ctx *ctx, grn_cache *cache,
                          grn_cache_statistics *statistics)
 {
   if (cache->is_memory) {
-    return grn_cache_get_statistics_memory(ctx, cache, statistics);
+    grn_cache_get_statistics_memory(ctx, cache, statistics);
   } else {
-    return grn_cache_get_statistics_persistent(ctx, cache, statistics);
+    grn_cache_get_statistics_persistent(ctx, cache, statistics);
   }
 }
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171101/3b66e1bc/attachment.htm 



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