mirror of https://gerrit.osmocom.org/asn1c
Fix few duplicate 'const' warnings
error: duplicate 'const' [-Werror=edantic]
This commit is contained in:
parent
1144b350f3
commit
d82f77b2d2
|
@ -14,12 +14,12 @@
|
|||
static const ber_tlv_tag_t asn_DEF_OCTET_STRING_tags[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
|
||||
};
|
||||
static const asn_OCTET_STRING_specifics_t asn_SPC_OCTET_STRING_specs = {
|
||||
static asn_OCTET_STRING_specifics_t asn_SPC_OCTET_STRING_specs = {
|
||||
sizeof(OCTET_STRING_t),
|
||||
offsetof(OCTET_STRING_t, _asn_ctx),
|
||||
ASN_OSUBV_STR
|
||||
};
|
||||
static const asn_per_constraints_t asn_DEF_OCTET_STRING_constraints = {
|
||||
static asn_per_constraints_t asn_DEF_OCTET_STRING_constraints = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 },
|
||||
{ APC_SEMI_CONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0
|
||||
|
|
|
@ -41,7 +41,7 @@ static int asn_DEF_PrintableString_c2v(unsigned int code) {
|
|||
return _PrintableString_code2value[code];
|
||||
return -1;
|
||||
}
|
||||
static const asn_per_constraints_t asn_DEF_PrintableString_constraints = {
|
||||
static asn_per_constraints_t asn_DEF_PrintableString_constraints = {
|
||||
{ APC_CONSTRAINED, 4, 4, 0x20, 0x39 }, /* Value */
|
||||
{ APC_SEMI_CONSTRAINED, -1, -1, 0, 0 }, /* Size */
|
||||
asn_DEF_PrintableString_v2c,
|
||||
|
|
Loading…
Reference in New Issue