diff options
author | Damjan Marion <damarion@cisco.com> | 2015-12-16 19:44:53 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2015-12-16 19:46:28 +0100 |
commit | 308caf11e775274337645453d4f2108b6225e3ca (patch) | |
tree | eef6d12d33fb1dd273fd7badff5c903065b543a5 | |
parent | dbbf1db7017d4697ca86830a010671f106bd22c4 (diff) |
Fix warnings in policer code
Change-Id: Idc6e67ecc6f1b169a63a9d6c962c716a0de32acc
Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r-- | vnet/vnet/policer/node_funcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/vnet/policer/node_funcs.c b/vnet/vnet/policer/node_funcs.c index 3badcfdfd1f..b85418feecb 100644 --- a/vnet/vnet/policer/node_funcs.c +++ b/vnet/vnet/policer/node_funcs.c @@ -85,7 +85,7 @@ uword vnet_policer_inline (vlib_main_t * vm, vlib_buffer_t * b0, * b1; u32 next0, next1; u32 sw_if_index0, sw_if_index1; - u32 pi0, pi1; + u32 pi0 = 0, pi1 = 0; u32 len0, len1; u32 col0, col1; policer_read_response_type_st * pol0, * pol1; @@ -200,7 +200,7 @@ uword vnet_policer_inline (vlib_main_t * vm, vlib_buffer_t * b0; u32 next0; u32 sw_if_index0; - u32 pi0; + u32 pi0 = 0; u32 len0; u32 col0; policer_read_response_type_st * pol0; |