summaryrefslogtreecommitdiffstats
path: root/src/vnet/bier/bier_api.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-04-05 02:24:52 -0700
committerChris Luke <chris_luke@comcast.com>2018-04-07 21:06:06 +0000
commit18075a0519cba559491892a7e8807fbd2d8f8ae6 (patch)
tree25c4204b20f095ac6470d4b42ef986a5b7566742 /src/vnet/bier/bier_api.c
parent9a719298c3160b0c28aa7d74747ef206751c8cae (diff)
BIER coveroty fix for unintialised return value on error
Change-Id: I2b1d1035f810cb58356626cf081d46eb289265b4 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/bier/bier_api.c')
-rw-r--r--src/vnet/bier/bier_api.c2
1 files changed, 1 insertions, 1 deletions
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 ();