Commit ffb77b08 authored by Lev Walkin's avatar Lev Walkin

Merge branch 'master' of github.com:vlm/asn1c

parents 28647743 0cfc865c
...@@ -153,13 +153,12 @@ asn_enc_rval_t ...@@ -153,13 +153,12 @@ asn_enc_rval_t
NULL_encode_oer(asn_TYPE_descriptor_t *td, NULL_encode_oer(asn_TYPE_descriptor_t *td,
const asn_oer_constraints_t *constraints, void *sptr, const asn_oer_constraints_t *constraints, void *sptr,
asn_app_consume_bytes_f *cb, void *app_key) { asn_app_consume_bytes_f *cb, void *app_key) {
asn_enc_rval_t er = {0, td, sptr};
(void)constraints; (void)constraints;
(void)cb; (void)cb;
(void)app_key; (void)app_key;
return er; ASN__ENCODE_FAILED;
} }
#endif /* ASN_DISABLE_OER_SUPPORT */ #endif /* ASN_DISABLE_OER_SUPPORT */
......
...@@ -85,7 +85,7 @@ NativeEnumerated_encode_oer(asn_TYPE_descriptor_t *td, ...@@ -85,7 +85,7 @@ NativeEnumerated_encode_oer(asn_TYPE_descriptor_t *td,
const asn_oer_constraints_t *constraints, const asn_oer_constraints_t *constraints,
void *sptr, asn_app_consume_bytes_f *cb, void *sptr, asn_app_consume_bytes_f *cb,
void *app_key) { void *app_key) {
asn_enc_rval_t er = {0, td, sptr}; asn_enc_rval_t er;
long native; long native;
(void)constraints; (void)constraints;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment