fix warnings
diff --git a/skeletons/BIT_STRING_oer.c b/skeletons/BIT_STRING_oer.c
index 1034d4b..9886646 100644
--- a/skeletons/BIT_STRING_oer.c
+++ b/skeletons/BIT_STRING_oer.c
@@ -95,7 +95,6 @@
const asn_oer_constraints_t *cts =
constraints ? constraints : td->oer_constraints;
ssize_t ct_size = cts ? cts->size : -1;
- size_t effective_size;
size_t trailing_zeros = 0;
int fix_last_byte = 0;
@@ -122,7 +121,7 @@
trailing_zeros = ct_bytes - st->size; /* Allow larger constraint */
} else {
uint8_t ub = st->bits_unused & 7;
- size_t len_len = oer_serialize_length(1 + st->size, cb, app_key);
+ ssize_t len_len = oer_serialize_length(1 + st->size, cb, app_key);
if(len_len < 0) ASN__ENCODE_FAILED;
if(cb(&ub, 1, app_key) < 0) {
ASN__ENCODE_FAILED;
diff --git a/skeletons/constr_CHOICE_oer.c b/skeletons/constr_CHOICE_oer.c
index 13d3dca..6cd7a0a 100644
--- a/skeletons/constr_CHOICE_oer.c
+++ b/skeletons/constr_CHOICE_oer.c
@@ -134,6 +134,8 @@
asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics;
asn_TYPE_member_t *elements = td->elements;
+ (void)specs;
+
/*
* Parts of the structure being constructed.
*/
@@ -319,6 +321,7 @@
asn_enc_rval_t er;
(void)constraints;
+ (void)specs;
if(!sptr) ASN__ENCODE_FAILED;
diff --git a/skeletons/constr_SET_OF_oer.c b/skeletons/constr_SET_OF_oer.c
index 2205d4f..5246a74 100644
--- a/skeletons/constr_SET_OF_oer.c
+++ b/skeletons/constr_SET_OF_oer.c
@@ -233,7 +233,7 @@
ssize_t qty_len;
asn_TYPE_member_t *elm;
asn_anonymous_set_ *list;
- size_t n;
+ int n;
(void)constraints;