summaryrefslogtreecommitdiffstats
path: root/lib/northbound_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/northbound_cli.c')
-rw-r--r--lib/northbound_cli.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/northbound_cli.c b/lib/northbound_cli.c
index 70c71b18c..1e25f6a1e 100644
--- a/lib/northbound_cli.c
+++ b/lib/northbound_cli.c
@@ -347,7 +347,7 @@ int nb_cli_confirmed_commit_rollback(struct vty *vty)
return ret;
}
-static int nb_cli_confirmed_commit_timeout(struct thread *thread)
+static void nb_cli_confirmed_commit_timeout(struct thread *thread)
{
struct vty *vty = THREAD_ARG(thread);
@@ -357,8 +357,6 @@ static int nb_cli_confirmed_commit_timeout(struct thread *thread)
nb_cli_confirmed_commit_rollback(vty);
nb_cli_confirmed_commit_clean(vty);
-
- return 0;
}
static int nb_cli_commit(struct vty *vty, bool force,