aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/NULL.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2017-09-11 15:45:36 +0000
committerLev Walkin <vlm@lionet.info>2017-09-11 15:45:36 +0000
commit0cfc865c49fc436cc503cff5248637b5aa7b0904 (patch)
tree8e76d97ceafb392fc239ba72a82132f327b45657 /skeletons/NULL.c
parent9023deafc97334c3c4385e903370645245ab255e (diff)
work with older compilers
Diffstat (limited to 'skeletons/NULL.c')
-rw-r--r--skeletons/NULL.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/skeletons/NULL.c b/skeletons/NULL.c
index 39f45489..961f3e6f 100644
--- a/skeletons/NULL.c
+++ b/skeletons/NULL.c
@@ -153,13 +153,12 @@ asn_enc_rval_t
NULL_encode_oer(asn_TYPE_descriptor_t *td,
const asn_oer_constraints_t *constraints, void *sptr,
asn_app_consume_bytes_f *cb, void *app_key) {
- asn_enc_rval_t er = {0, td, sptr};
(void)constraints;
(void)cb;
(void)app_key;
- return er;
+ ASN__ENCODE_FAILED;
}
#endif /* ASN_DISABLE_OER_SUPPORT */