[rubygems/rubygems] Prevent a "warning: assigned but unused variable - data"

https://github.com/rubygems/rubygems/commit/ec3fd55d40
This commit is contained in:
Yusuke Endoh 2022-09-30 10:53:22 +09:00 committed by git
parent ab31d2e69f
commit 962f9932af

View File

@ -93,7 +93,7 @@ class Gem::FakeFetcher
# Thanks, FakeWeb! # Thanks, FakeWeb!
def open_uri_or_path(path) def open_uri_or_path(path)
data = find_data(path) find_data(path)
create_response(uri) create_response(uri)
end end