mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:09:17 +00:00
lib: Tell the compiler we don't care about the return code
When calling yang_snodes_iterate_subtree we don't care about the return code. So explicitly say we don't care so that SA tools can be on the same page as us. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
9781e6a047
commit
7895c3bc4f
@ -122,9 +122,9 @@ static int nb_node_new_cb(const struct lys_node *snode, void *arg)
|
||||
if (CHECK_FLAG(snode->nodetype, LYS_CONTAINER | LYS_LIST)) {
|
||||
bool config_only = true;
|
||||
|
||||
yang_snodes_iterate_subtree(snode, NULL,
|
||||
nb_node_check_config_only, 0,
|
||||
&config_only);
|
||||
(void)yang_snodes_iterate_subtree(snode, NULL,
|
||||
nb_node_check_config_only, 0,
|
||||
&config_only);
|
||||
if (config_only)
|
||||
SET_FLAG(nb_node->flags, F_NB_NODE_CONFIG_ONLY);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user