Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit ed225e2

Browse files
committed
Avoid useless assignment
1 parent 7d24f66 commit ed225e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/openid/store/filesystem.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def mktemp
230230
# create a safe filename from a url
231231
def filename_escape(s)
232232
s = '' if s.nil?
233-
filename_chunks = s.each_char.flat_map {|c|
233+
s.each_char.flat_map {|c|
234234
@@FILENAME_ALLOWED.include?(c) ? c : c.bytes.map {|b|
235235
"_%02X" % b
236236
}

0 commit comments

Comments
 (0)