summaryrefslogtreecommitdiff
path: root/lib/slop/parser.rb
diff options
context:
space:
mode:
authorTyler Mercier <tylermercier@gmail.com>2019-10-22 15:18:04 -0400
committerTyler Mercier <tylermercier@gmail.com>2019-10-22 15:18:04 -0400
commit607d6dd2d133cadc03bbe75d0ad9d3cc849f7f10 (patch)
tree0834daff35613b6532950ee816983e0362480273 /lib/slop/parser.rb
parentb3e382a8a32e52fe7689377d0ec2b2a333a1069b (diff)
downloadslop-607d6dd2d133cadc03bbe75d0ad9d3cc849f7f10.tar.gz
remove unused variable
Diffstat (limited to 'lib/slop/parser.rb')
-rw-r--r--lib/slop/parser.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/slop/parser.rb b/lib/slop/parser.rb
index c6462ea..00b7e33 100644
--- a/lib/slop/parser.rb
+++ b/lib/slop/parser.rb
@@ -52,7 +52,6 @@ module Slop
# support `foo=bar`
orig_flag = flag.dup
- orig_arg = arg
if match = flag.match(/([^=]+)=([^=]+)/)
flag, arg = match.captures
end