Skip to content

Commit 6da7515

Browse files
committed
parser lyb BUGFIX init LYB output vars
1 parent 2ccb164 commit 6da7515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser_lyb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ static LY_ERR
310310
lyb_read_value(const struct lysc_type *type, uint8_t **val, uint64_t *val_size_bits, struct lylyb_parse_ctx *lybctx)
311311
{
312312
enum lyplg_lyb_size_type size_type;
313-
uint32_t lyb_size_bits;
313+
uint32_t lyb_size_bits = 0;
314314
uint64_t fixed_size_bits;
315315
struct lysc_type_leafref *type_lf;
316316

0 commit comments

Comments
 (0)