diff options
-rw-r--r-- | vnet/vnet/ipsec/ipsec_cli.c | 4 | ||||
-rw-r--r-- | vpp-api-test/vat/api_format.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vnet/vnet/ipsec/ipsec_cli.c b/vnet/vnet/ipsec/ipsec_cli.c index 1d19e537b88..7150dcff154 100644 --- a/vnet/vnet/ipsec/ipsec_cli.c +++ b/vnet/vnet/ipsec/ipsec_cli.c @@ -67,7 +67,7 @@ ipsec_sa_add_del_command_fn (vlib_main_t * vm, unformat_input_t _line_input, * line_input = &_line_input; ipsec_sa_t sa; int is_add = ~0; - u8 * ck, * ik; + u8 * ck = 0, * ik = 0; memset(&sa, 0, sizeof(sa)); @@ -287,7 +287,7 @@ set_ipsec_sa_key_command_fn (vlib_main_t * vm, { unformat_input_t _line_input, * line_input = &_line_input; ipsec_sa_t sa; - u8 * ck, * ik; + u8 * ck = 0, * ik = 0; memset(&sa, 0, sizeof(sa)); diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c index dac6788972c..3b2c91cf449 100644 --- a/vpp-api-test/vat/api_format.c +++ b/vpp-api-test/vat/api_format.c @@ -9661,7 +9661,7 @@ api_ipsec_sad_add_del_entry (vat_main_t * vam) vl_api_ipsec_sad_add_del_entry_t *mp; f64 timeout; u32 sad_id, spi; - u8 * ck, * ik; + u8 * ck = 0, * ik = 0; u8 is_add = 1; u8 protocol = IPSEC_PROTOCOL_AH; @@ -9773,7 +9773,7 @@ api_ipsec_sa_set_key (vat_main_t * vam) vl_api_ipsec_sa_set_key_t *mp; f64 timeout; u32 sa_id; - u8 * ck, * ik; + u8 * ck = 0, * ik = 0; while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT) { if (unformat (i, "sa_id %d", &sa_id)) |