Skip to content

Commit 41b228d

Browse files
committed
Fix compilation warning
1 parent d010253 commit 41b228d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

skeletons/per_opentype.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,11 @@ int
518518
aper_open_type_skip(const asn_codec_ctx_t *ctx, asn_per_data_t *pd) {
519519
asn_TYPE_descriptor_t s_td;
520520
asn_dec_rval_t rv;
521+
asn_TYPE_operation_t op_t;
521522

523+
memset(&op_t, 0, sizeof(op_t));
522524
s_td.name = "<unknown extension>";
525+
s_td.op = &op_t;
523526
s_td.op->aper_decoder = uper_sot_suck;
524527

525528
rv = aper_open_type_get(ctx, &s_td, 0, 0, pd);

0 commit comments

Comments
 (0)