ip: coverity woes 43/18043/2
authorSteven Luong <sluong@cisco.com>
Tue, 5 Mar 2019 23:42:21 +0000 (15:42 -0800)
committerDamjan Marion <dmarion@me.com>
Wed, 6 Mar 2019 11:35:30 +0000 (11:35 +0000)
commit99ae31d5acadfe33a0855786bf88a4ff2fe6d0f2
treed5727964d98df412e6607705df5e4841d3fc4b6c
parent951551081b555f37e9eb068876d83ea57621143a
ip: coverity woes

coverity complains about logically dead code for the statement if (error) because
error was assigned to 0 prior to the check. I believe error was meant to get the
return status of the call vnet_punt_socket_add.

Change-Id: I794167493f63cb898d3618c2c28817823f46b765
Signed-off-by: Steven Luong <sluong@cisco.com>
src/vnet/ip/punt_api.c