diff options
| author | Christian Hopps <chopps@labn.net> | 2025-01-10 07:01:00 -0500 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2025-01-13 23:40:52 -0500 |
| commit | c88b48929c60ffe0214949fdf85afefa4038327b (patch) | |
| tree | 715c50f1f42a9d6c492ce87a746941eb29ed7966 /lib/mgmt_be_client.c | |
| parent | 7f8088509952931f16f024d92763f98a736ab6c9 (diff) | |
lib: fix new (incorrect) CLANG SA warnings
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/mgmt_be_client.c')
| -rw-r--r-- | lib/mgmt_be_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mgmt_be_client.c b/lib/mgmt_be_client.c index a443d83b52..efd5d70a74 100644 --- a/lib/mgmt_be_client.c +++ b/lib/mgmt_be_client.c @@ -322,6 +322,7 @@ static int __send_notification(struct mgmt_be_client *client, const char *xpath, LY_ERR err; int ret = 0; + assert(op != NOTIFY_OP_NOTIFICATION || xpath || tree); debug_be_client("%s: sending %sYANG %snotification: %s", __func__, op == NOTIFY_OP_DS_DELETE ? "delete " : op == NOTIFY_OP_DS_REPLACE ? "replace " |
