From a4ba8da26f053db714d77943c01090e968724273 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Mon, 18 Oct 2021 12:28:48 +0200 Subject: api: remove legacy pd msg handlers While looking at a coverity warning it was discovered that it's caused by return value modified by pd msg handlers. As these are legacy, it's a good time to remove them and also fix the warning this way. Type: fix Signed-off-by: Klement Sekera Change-Id: Ic72ab8b2b7a2e55188d1c31cfd18a74b7cf82c43 --- src/vnet/gre/gre_api.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/vnet/gre/gre_api.c') diff --git a/src/vnet/gre/gre_api.c b/src/vnet/gre/gre_api.c index e83635a7820..3b42c76fb12 100644 --- a/src/vnet/gre/gre_api.c +++ b/src/vnet/gre/gre_api.c @@ -130,7 +130,6 @@ static void send_gre_tunnel_details (gre_tunnel_t * t, vl_api_gre_tunnel_dump_t * mp) { vl_api_gre_tunnel_details_t *rmp; - int rv = 0; /* *INDENT-OFF* */ REPLY_MACRO_DETAILS2(VL_API_GRE_TUNNEL_DETAILS, -- cgit 1.2.3-korg