Skip to content

Commit

Permalink
tree data BUGFIX uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Jan 16, 2024
1 parent fc4dbd9 commit ea4943c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -3051,7 +3051,7 @@ LIBYANG_API_DEF LY_ERR
lyd_trim_xpath(struct lyd_node **tree, const char *xpath, const struct lyxp_var *vars)
{
LY_ERR ret = LY_SUCCESS;
struct ly_ctx *ctx;
struct ly_ctx *ctx = NULL;
struct lyxp_set xp_set = {0};
struct lyxp_expr *exp = NULL;
struct lyd_node *node, *parent;
Expand Down

0 comments on commit ea4943c

Please sign in to comment.