1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

rb_encoding is defined as const

Duplicate type qualifier is not needed.
This commit is contained in:
Nobuyoshi Nakada 2020-08-01 17:58:24 +09:00
parent b6e6807993
commit e8ce9dfaf4
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -247,7 +247,7 @@ struct enc_synmane_type_leading_chars_tag {
#define t struct enc_synmane_type_leading_chars_tag
static struct enc_synmane_type_leading_chars_tag
enc_synmane_type_leading_chars(const char *name, long len, const rb_encoding *enc, int allowed_attrset)
enc_synmane_type_leading_chars(const char *name, long len, rb_encoding *enc, int allowed_attrset)
{
const char *m = name;
const char *e = m + len;