summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_api.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-04-07 23:03:05 -0700
committerNeale Ranns <nranns@cisco.com>2019-04-07 23:03:05 -0700
commit281ff51396647ae8182cb9b3644940d05e82d227 (patch)
tree55f64b46e4fc4852db982590372578e4d2e80b7b /src/plugins/gbp/gbp_api.c
parent060bfb987a277624e5644de2fcbee1196c2c76e8 (diff)
GBP: coverity uninitialised variable warning
Change-Id: Ic6e23f497fd91dcb1441f9f4d88a182712e69d3f Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp_api.c')
-rw-r--r--src/plugins/gbp/gbp_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gbp/gbp_api.c b/src/plugins/gbp/gbp_api.c
index cd08eeb7eb4..bcc2d22612f 100644
--- a/src/plugins/gbp/gbp_api.c
+++ b/src/plugins/gbp/gbp_api.c
@@ -935,7 +935,7 @@ vl_api_gbp_contract_add_del_t_handler (vl_api_gbp_contract_add_del_t * mp)
{
vl_api_gbp_contract_add_del_reply_t *rmp;
u16 *allowed_ethertypes;
- u32 stats_index;
+ u32 stats_index = ~0;
index_t *rules;
int ii, rv = 0;
u8 n_et;