[Groonga-commit] long-long-float/droonga-engine at 791d815 [master] Remove needless variable

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 28 12:07:19 JST 2014


Kouhei Sutou	2014-08-28 12:07:19 +0900 (Thu, 28 Aug 2014)

  New Revision: 791d8152bf5e75cddb50d142f2d7fc57bee635df
  https://github.com/long-long-float/droonga-engine/commit/791d8152bf5e75cddb50d142f2d7fc57bee635df

  Merged 5be18f3: Merge branch 'master' of github.com:droonga/droonga-engine
  Merged 15fc80d: Merge branch 'master' of github.com:droonga/droonga-engine

  Message:
    Remove needless variable

  Modified files:
    lib/droonga/catalog_fetcher.rb

  Modified: lib/droonga/catalog_fetcher.rb (+1 -3)
===================================================================
--- lib/droonga/catalog_fetcher.rb    2014-08-28 12:06:46 +0900 (2614308)
+++ lib/droonga/catalog_fetcher.rb    2014-08-28 12:07:19 +0900 (260afc8)
@@ -29,13 +29,11 @@ module Droonga
     end
 
     def fetch
-      catalog = nil
       Droonga::Client.open(@client_options) do |client|
         response = client.request(:dataset => @client_options[:dataset],
                                   :type    => "catalog.fetch")
-        catalog = response["body"]
+        response["body"]
       end
-      catalog
     end
 
     private
-------------- next part --------------
HTML����������������������������...
Download 



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