Skip to content

Commit dbf77d4

Browse files
committed
surpress warning
now `enc_table->list` is not a pointer.
1 parent d6624db commit dbf77d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encoding.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ enc_registered(struct enc_table *enc_table, const char *name)
422422
st_data_t idx = 0;
423423

424424
if (!name) return -1;
425-
if (!enc_table->list) return -1;
425+
if (!enc_table->names) return -1;
426426
if (st_lookup(enc_table->names, (st_data_t)name, &idx)) {
427427
return (int)idx;
428428
}

0 commit comments

Comments
 (0)