summaryrefslogtreecommitdiff
path: root/ext/ripper
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-07 23:33:45 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-07 23:33:45 +0900
commitd62abc47c83a79687a41f375338564ece0f403ce (patch)
treed21a1e3afa1d21e6cea860fca60dc2aebc60ecb7 /ext/ripper
parent6aa80d5583daf71a4d45400af7e23e9d6151b1a3 (diff)
Suppress unused variable warning
Diffstat (limited to 'ext/ripper')
-rw-r--r--ext/ripper/tools/dsl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ripper/tools/dsl.rb b/ext/ripper/tools/dsl.rb
index 925c09b14b0..27ba87f89b7 100644
--- a/ext/ripper/tools/dsl.rb
+++ b/ext/ripper/tools/dsl.rb
@@ -28,7 +28,7 @@ class DSL
/#{ re }/ =~ s
# struct parser_params *p
- p = "p"
+ p = p = "p"
@code = ""
@last_value = eval(code)