summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2021-06-02 18:13:42 -0400
committerGitHub <noreply@github.com>2021-06-02 18:13:42 -0400
commitd64162ce84ffeefbbc95a91e7a87b2544926c886 (patch)
tree1a61fc71c469b4fefb75179e3cc4d0bd2ad3de37 /lib/command.c
parentd532d1092e165dc9b7164039c0366c4f2856c9f9 (diff)
parentfd396924d6fedf0c68707b314fb216b6b7544bcb (diff)
Merge pull request #8210 from LabNConsulting/chopps/always-batch
northbound: KISS always batch yang config, it's faster.
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 7fb405bdfb..5cf1a4f57a 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -980,7 +980,7 @@ static int cmd_execute_command_real(vector vline, enum cmd_filter_type filter,
* non-YANG command.
*/
if (matched_element->attr != CMD_ATTR_YANG)
- nb_cli_pending_commit_check(vty);
+ (void)nb_cli_pending_commit_check(vty);
}
ret = matched_element->func(matched_element, vty, argc, argv);