Skip to content

Commit 47032a0

Browse files
小野 直人ko1
authored andcommitted
Fix warning about allocated but unused variables
1 parent bfe1762 commit 47032a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/debug/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module DEBUGGER__
4848
parent_on_fork: ['RUBY_DEBUG_PARENT_ON_FORK', "OBSOLETE: Keep debugging parent process on fork (default: false)", :bool],
4949
}.freeze
5050

51-
CONFIG_MAP = CONFIG_SET.map{|k, (ev, desc)| [k, ev]}.to_h.freeze
51+
CONFIG_MAP = CONFIG_SET.map{|k, (ev, _)| [k, ev]}.to_h.freeze
5252

5353
class Config
5454
def self.config

0 commit comments

Comments
 (0)