From 77335de45a0904fd6d6e2a5597f1fd0fcbaf0917 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Thu, 4 Jun 2020 12:41:43 +0000 Subject: nat: fix coverity warning Type: fix Change-Id: I0e87021b11009a955f5839bdb68af897145816c1 Signed-off-by: Klement Sekera (cherry picked from commit c39c79c5aa7b5410f3aad4a770a741ab04f7dcc5) --- src/plugins/nat/nat44_hairpinning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/nat/nat44_hairpinning.c b/src/plugins/nat/nat44_hairpinning.c index 331e7ca96bd..a0a06c04c05 100644 --- a/src/plugins/nat/nat44_hairpinning.c +++ b/src/plugins/nat/nat44_hairpinning.c @@ -94,7 +94,7 @@ snat_hairpinning (snat_main_t * sm, tcp_header_t * tcp0, u32 proto0, int is_ed) { snat_session_key_t key0, sm0; - snat_session_t *s0; + snat_session_t *s0 = NULL; clib_bihash_kv_8_8_t kv0, value0; ip_csum_t sum0; u32 new_dst_addr0 = 0, old_dst_addr0, ti = 0, si; -- cgit 1.2.3-korg