Navigation Menu

Skip to content

Commit

Permalink
Suppress a warning
Browse files Browse the repository at this point in the history
    lib/droonga/plugins/watch.rb:104: warning: assigned but unused variable - route
  • Loading branch information
kou committed Apr 24, 2014
1 parent 2e08064 commit 05b84c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/droonga/plugins/watch.rb
Expand Up @@ -102,6 +102,7 @@ def initialize(*args)

def handle(message)
subscriber, condition, query, route = parse_message(message)
_ = route # suppress a warning
normalized_request = {
:subscriber => subscriber,
:condition => condition,
Expand Down

0 comments on commit 05b84c8

Please sign in to comment.