Commit 878a521e authored by Lev Walkin's avatar Lev Walkin

initialize all fields

parent 14fd3e5a
...@@ -312,9 +312,7 @@ SEQUENCE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, ...@@ -312,9 +312,7 @@ SEQUENCE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
* sorted array of tags. * sorted array of tags.
*/ */
const asn_TYPE_tag2member_t *t2m; const asn_TYPE_tag2member_t *t2m;
asn_TYPE_tag2member_t key; asn_TYPE_tag2member_t key = {tlv_tag, edx, 0, 0};
key.el_tag = tlv_tag;
key.el_no = edx;
t2m = (const asn_TYPE_tag2member_t *)bsearch(&key, t2m = (const asn_TYPE_tag2member_t *)bsearch(&key,
specs->tag2el, specs->tag2el_count, specs->tag2el, specs->tag2el_count,
sizeof(specs->tag2el[0]), _t2e_cmp); sizeof(specs->tag2el[0]), _t2e_cmp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment