From 88f0a3d93093f1301cdab8157f145ab5bdc91ec9 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 5 Apr 2018 02:24:52 -0700 Subject: BIER coveroty fix for unintialised return value on error Change-Id: I2b1d1035f810cb58356626cf081d46eb289265b4 Signed-off-by: Neale Ranns --- src/vnet/bier/bier_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnet/bier/bier_api.c b/src/vnet/bier/bier_api.c index 7263ec65720..93048a0a890 100644 --- a/src/vnet/bier/bier_api.c +++ b/src/vnet/bier/bier_api.c @@ -293,7 +293,7 @@ vl_api_bier_imp_add_t_handler (vl_api_bier_imp_add_t * mp) { vl_api_bier_imp_add_reply_t *rmp; vnet_main_t *vnm; - index_t bii; + index_t bii = ~0; int rv = 0; vnm = vnet_get_main (); -- cgit 1.2.3-korg