Skip to content

Commit f919437

Browse files
committed
fixup! lyb UPDATE move feature count read
1 parent bd9e806 commit f919437

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parser_lyb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ lyb_check_mod_features(struct lyd_lyb_ctx *lybctx, const char *mod_name, const s
395395
LY_ERR rc = LY_SUCCESS;
396396
struct lylyb_parse_ctx *pctx = lybctx->parse_ctx;
397397
char *feature_name = NULL, **features = NULL, *en_feats_printer = NULL, *en_feats_parser = NULL;
398-
uint32_t i, feature_count, ctx_feature_count, len;
398+
uint32_t i, feature_count = 0, ctx_feature_count, len;
399399

400400
/* read feature count */
401401
lyb_read_count(&feature_count, pctx);

0 commit comments

Comments
 (0)