surpress warning
now `enc_table->list` is not a pointer.
This commit is contained in:
parent
d6624db926
commit
dbf77d420d
@ -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…
x
Reference in New Issue
Block a user