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

Commit 7d24f66

Browse files
committed
Remove unused local assignment
- this avoids a Ruby warning
1 parent e93fac7 commit 7d24f66

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • lib/openid/extensions

lib/openid/extensions/ax.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,9 +539,8 @@ def initialize(succeeded = true, error_message = nil)
539539
end
540540

541541
def self.from_success_response(success_response)
542-
resp = nil
543542
ax_args = success_response.message.get_args(NS_URI)
544-
resp = ax_args.key?('error') ? new(false, ax_args['error']) : new
543+
ax_args.key?('error') ? new(false, ax_args['error']) : new
545544
end
546545

547546
def succeeded?

0 commit comments

Comments
 (0)