Skip to content

Commit

Permalink
schema tree CHANGE explicitely comment that we don't want to check re…
Browse files Browse the repository at this point in the history
…turn code of lyd_set_add()
  • Loading branch information
rkrejci committed Jan 8, 2016
1 parent 851ea66 commit 592f45c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tree_schema.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,9 @@ check_mand_check(const struct lys_node *node, const struct lys_node *stop, const
if (!set) {
set = lyd_set_new();
}
lyd_set_add(set, (struct lyd_node *)parent);
/* ignore return - memory error is logged and we will
* check at least the rest of nodes we have */
(void) lyd_set_add(set, (struct lyd_node *)parent);
}
}

Expand Down

0 comments on commit 592f45c

Please sign in to comment.