diff options
| author | Christian Hopps <chopps@labn.net> | 2024-08-18 05:33:29 -0500 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2024-08-18 05:33:29 -0500 |
| commit | e7fc74aa14eb29fee3af3cabefb1e5db62fa2cd5 (patch) | |
| tree | 99f02fce151839888d892ec92af4ede03b062e32 /lib/mgmt_be_client.c | |
| parent | fa50fde9541348e80bb2b4835f72db86362fa38e (diff) | |
mgmtd: fix a couple compilation warnings.
Also an empty (thus non-replace) notify selectors message shouldn't
clear the selectors, it should just do nothing.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/mgmt_be_client.c')
| -rw-r--r-- | lib/mgmt_be_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mgmt_be_client.c b/lib/mgmt_be_client.c index 6e2fb05e84..49879f3f53 100644 --- a/lib/mgmt_be_client.c +++ b/lib/mgmt_be_client.c @@ -1061,7 +1061,7 @@ static void be_client_handle_notify(struct mgmt_be_client *client, void *msgbuf, struct mgmt_msg_notify_data *notif_msg = msgbuf; struct nb_node *nb_node; struct lyd_node *dnode; - const char *data; + const char *data = NULL; const char *notif; LY_ERR err; |
