From db11968a3d4662f18135b5beab9c1d8c8d0e9630 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Sat, 30 Dec 2023 15:58:40 +0000 Subject: [PATCH] lib: fix coverity CID 1574977 Signed-off-by: Christian Hopps --- lib/vty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/vty.c b/lib/vty.c index 3c80403cce..a08a3c8735 100644 --- a/lib/vty.c +++ b/lib/vty.c @@ -3657,8 +3657,7 @@ static int vty_mgmt_get_data_result_notified( } if (next_key < 0) { vty_out(vty, "]\n"); - vty_mgmt_resume_response(vty, - success ? CMD_SUCCESS : CMD_WARNING); + vty_mgmt_resume_response(vty, CMD_SUCCESS); } return 0; -- 2.39.5