Skip to content

Commit

Permalink
lib: mgmtd: remove incorrect assert
Browse files Browse the repository at this point in the history
- tree will be NULL in delete case

Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Jan 10, 2025
1 parent d069f4b commit d8c15b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/mgmt_be_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,6 @@ static int __send_notification(struct mgmt_be_client *client, const char *xpath,
LY_ERR err;
int ret = 0;

assert(tree);

debug_be_client("%s: sending %sYANG %snotification: %s", __func__,
op == NOTIFY_OP_DS_DELETE ? "delete "
: op == NOTIFY_OP_DS_REPLACE ? "replace "
Expand Down

0 comments on commit d8c15b9

Please sign in to comment.