From: Christian Hopps Date: Sat, 30 Dec 2023 15:58:40 +0000 (+0000) Subject: lib: fix coverity CID 1574977 X-Git-Tag: base_10.0~164^2~5 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=db11968a3d4662f18135b5beab9c1d8c8d0e9630;p=matthieu%2Ffrr.git lib: fix coverity CID 1574977 Signed-off-by: Christian Hopps --- 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;