[Groonga-commit] droonga/droonga-engine at 05b84c8 [master] Suppress a warning

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 24 17:10:00 JST 2014


Kouhei Sutou	2014-04-24 17:10:00 +0900 (Thu, 24 Apr 2014)

  New Revision: 05b84c802430f91a15a59cc7c763481844cbe161
  https://github.com/droonga/droonga-engine/commit/05b84c802430f91a15a59cc7c763481844cbe161

  Message:
    Suppress a warning
    
        lib/droonga/plugins/watch.rb:104: warning: assigned but unused variable - route

  Modified files:
    lib/droonga/plugins/watch.rb

  Modified: lib/droonga/plugins/watch.rb (+1 -0)
===================================================================
--- lib/droonga/plugins/watch.rb    2014-04-24 16:51:21 +0900 (791e849)
+++ lib/droonga/plugins/watch.rb    2014-04-24 17:10:00 +0900 (bb9cc06)
@@ -102,6 +102,7 @@ module Droonga
 
         def handle(message)
           subscriber, condition, query, route = parse_message(message)
+          _ = route # suppress a warning
           normalized_request = {
             :subscriber => subscriber,
             :condition  => condition,
-------------- next part --------------
HTML����������������������������...
Download 



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