mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
surpress warning
now `enc_table->list` is not a pointer.
This commit is contained in:
parent
d6624db926
commit
dbf77d420d
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ enc_registered(struct enc_table *enc_table, const char *name)
|
|||
st_data_t idx = 0;
|
||||
|
||||
if (!name) return -1;
|
||||
if (!enc_table->list) return -1;
|
||||
if (!enc_table->names) return -1;
|
||||
if (st_lookup(enc_table->names, (st_data_t)name, &idx)) {
|
||||
return (int)idx;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue