clean-up; removed unnecessary field from type descriptor
diff --git a/skeletons/BMPString.c b/skeletons/BMPString.c
index bdbd40d..2a11299 100644
--- a/skeletons/BMPString.c
+++ b/skeletons/BMPString.c
@@ -28,7 +28,6 @@
asn1_DEF_BMPString_tags,
sizeof(asn1_DEF_BMPString_tags)
/ sizeof(asn1_DEF_BMPString_tags[0]),
- -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */
};
@@ -101,7 +100,8 @@
(void)td; /* Unused argument */
(void)ilevel; /* Unused argument */
- if(!st || !st->buf) return cb("<absent>", 8, app_key);
+ if(!st || !st->buf)
+ return (cb("<absent>", 8, app_key) < 0) ? -1 : 0;
if(BMPString__dump(st, cb, app_key) < 0)
return -1;