diff options
author | Christian Hopps <chopps@labn.net> | 2024-01-07 10:41:32 +0100 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2024-01-07 16:04:18 +0100 |
commit | 00138ffb47acc58a49e93a9b291a4b9e0c92096e (patch) | |
tree | 82ba0e95b6a7701dbee1fea578e32050ca7e6e0b /mgmtd/mgmt_fe_adapter.c | |
parent | Merge pull request #15104 from donaldsharp/label_pool_manager (diff) | |
download | frr-00138ffb47acc58a49e93a9b291a4b9e0c92096e.tar.xz frr-00138ffb47acc58a49e93a9b291a4b9e0c92096e.zip |
lib: fix clang SA warnings
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt_fe_adapter.c')
-rw-r--r-- | mgmtd/mgmt_fe_adapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mgmtd/mgmt_fe_adapter.c b/mgmtd/mgmt_fe_adapter.c index d98444703..5f17b89c5 100644 --- a/mgmtd/mgmt_fe_adapter.c +++ b/mgmtd/mgmt_fe_adapter.c @@ -1105,7 +1105,7 @@ static int fe_adapter_send_tree_data(struct mgmt_fe_session_ctx *session, LYD_PRINT_WITHSIBLINGS)); /* buf may have been reallocated and moved */ msg = (typeof(msg))buf; - + (void)msg; /* suppress clang-SA unused warning on safety code */ if (ret != LY_SUCCESS) { MGMTD_FE_ADAPTER_ERR("Error building get-tree result for client %s session-id %" PRIu64 |