summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorThomas McDonald <thomasm@palantir.com>2020-04-28 17:37:59 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:13:29 +0900
commit856f2f31ffebd070405821dd41fca9c67fd5cced (patch)
tree4394dcabec390941cbe16a082b3081328056e2b5 /spec
parent12ac0fa9396d08899cc3efdd7398f71b618ba9a0 (diff)
[rubygems/rubygems] Remove unnecessary code
`@host` _could_ be `nil` at this point, but only if all the conditions above for setting `@host` were `nil`. In that case, it is guaranteed to `default_gem_server` metadata is `nil` since it's one of the branches in that condition. So this code would just be setting an already `nil` variable to `nil`. Hence, not needed. https://github.com/rubygems/rubygems/commit/e3ccff3c5c
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3092
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions