aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skeletons/per_opentype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/skeletons/per_opentype.c b/skeletons/per_opentype.c
index 25c6d711..c749c8c6 100644
--- a/skeletons/per_opentype.c
+++ b/skeletons/per_opentype.c
@@ -121,6 +121,8 @@ uper_open_type_get_simple(asn_codec_ctx_t *ctx, asn_TYPE_descriptor_t *td,
}
} else {
FREEMEM(buf);
+ /* rv.code could be RC_WMORE, nonsense in this context */
+ rv.code = RC_FAIL; /* Noone would give us more */
}
return rv;