Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
debian-packages
ruby-oci8
Commits
6e9a1504
Commit
6e9a1504
authored
Mar 27, 2016
by
Kubo Takehiro
Browse files
Suppress warning: instance variable @name_to_tdo not initialized.
parent
4276bef1
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
6e9a1504
2016-03-27 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/object.rb: Suppress warning: instance variable
@name_to_tdo not initialized.
2016-03-27 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.yml, ext/oci8/metadata.c, ext/oci8/object.c,
ext/oci8/oci8.h, lib/oci8/object.rb, test/setup_test_object.sql,
...
...
lib/oci8/object.rb
View file @
6e9a1504
...
...
@@ -78,7 +78,8 @@ EOS
#
# @private
def
get_tdo_by_typename
(
typename
)
tdo
=
@name_to_tdo
&&
@name_to_tdo
[
typename
]
@name_to_tdo
||=
{}
tdo
=
@name_to_tdo
[
typename
]
return
tdo
if
tdo
metadata
=
describe_any
(
typename
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment