Fix assigned but unused variable warning #326

Merged
merged 1 commit into from Nov 3, 2013

Conversation

Projects
None yet
2 participants
@timcraft
Contributor

timcraft commented Nov 3, 2013

Loading webmock with a verbose warning level e.g. ruby -W2 -r webmock -e '' prints out "warning: assigned but unused variable - response". Patch removes the unused variable in question.

@bblimke

This comment has been minimized.

Show comment Hide comment
@bblimke

bblimke Nov 3, 2013

Owner

Thanks! In what situation do you load WebMock with verbose warning level?

Owner

bblimke commented Nov 3, 2013

Thanks! In what situation do you load WebMock with verbose warning level?

bblimke added a commit that referenced this pull request Nov 3, 2013

Merge pull request #326 from timcraft/patch-1
Fix assigned but unused variable warning

@bblimke bblimke merged commit f6ad275 into bblimke:master Nov 3, 2013

1 check passed

default The Travis CI build passed
Details

@timcraft timcraft deleted the timcraft:patch-1 branch Nov 3, 2013

@timcraft

This comment has been minimized.

Show comment Hide comment
@timcraft

timcraft Nov 3, 2013

Contributor

@bblimke Thank you, usually every time I run my tests :)

Contributor

timcraft commented Nov 3, 2013

@bblimke Thank you, usually every time I run my tests :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment