Skip to content

Suppress assigned but unused variable warning#209

Merged
yahonda merged 1 commit into
rsim:masterfrom
koic:suppress_unsed_variable_warning
Dec 3, 2021
Merged

Suppress assigned but unused variable warning#209
yahonda merged 1 commit into
rsim:masterfrom
koic:suppress_unsed_variable_warning

Conversation

@koic

@koic koic commented Dec 2, 2021

Copy link
Copy Markdown
Contributor

Follow up to #196.

This PR suppresses the following assigned but unused variable warning.

==> Running specs with ruby version 3.1.0
/home/travis/.rvm/gems/ruby-head/bundler/gems/ruby-plsql-b7f469a72bd7/lib/plsql/procedure.rb:234:
warning: assigned but unused variable - object_name
==> Effective ActiveRecord version 7.0.0.alpha2

https://app.travis-ci.com/github/rsim/oracle-enhanced/jobs/550436965

@yahonda

yahonda commented Dec 2, 2021

Copy link
Copy Markdown
Collaborator

Let me take a look at CI failures, which may be due to the Oracle database/client version differences.

@yahonda

yahonda commented Dec 2, 2021

Copy link
Copy Markdown
Collaborator

Adding similar change like this rsim/oracle-enhanced@05090c8 may address ORA-01805: possible error in date/time operation errors.

@yahonda

yahonda commented Dec 2, 2021

Copy link
Copy Markdown
Collaborator

#210 addressed CI failures. Would you rebase from the latest master branch.

Follow up to rsim#196.

This PR suppresses the following `assigned but unused variable` warning.

```console
==> Running specs with ruby version 3.1.0
/home/travis/.rvm/gems/ruby-head/bundler/gems/ruby-plsql-b7f469a72bd7/lib/plsql/procedure.rb:234:
warning: assigned but unused variable - object_name
==> Effective ActiveRecord version 7.0.0.alpha2
```

https://app.travis-ci.com/github/rsim/oracle-enhanced/jobs/550436965
@koic koic force-pushed the suppress_unsed_variable_warning branch from ecdca97 to 108f070 Compare December 3, 2021 01:54
@yahonda

yahonda commented Dec 3, 2021

Copy link
Copy Markdown
Collaborator

Going to merge this pull request because CI on GitHub Actions are green. Travis CI takes longer because it has a lot of version matrix.

@yahonda yahonda merged commit c854add into rsim:master Dec 3, 2021
@yahonda

yahonda commented Dec 3, 2021

Copy link
Copy Markdown
Collaborator

As a side note, we may need to run CI against Oracle 11g using https://github.com/gvenzl/oci-oracle-xe/blob/main/Dockerfile.11202 at GitHub Actions.

@koic koic deleted the suppress_unsed_variable_warning branch December 3, 2021 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants