diff options
author | Steven Luong <sluong@cisco.com> | 2019-07-24 11:16:46 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-07-25 09:00:41 +0000 |
commit | 0dbaa59e075f9ac44b0bd23ed2c9adbd85215e8f (patch) | |
tree | f9988bfc424f381179ea35a9700c0bf54a347ce2 /src/vnet/srp/node.c | |
parent | c94afaade0a8fec724d051a202591f5b37dd0f49 (diff) |
memif: Fix uninitialized variable as reported by coverity
When mode == ip, the variable next_index is not initialized.
Although insde the while loop, ni will be fixed to contain next[0],
it is easier to initialize it.
Type: fix
Change-Id: I6653a958bbc5105e7266bf89e3c8569ff00f0199
Signed-off-by: Steven Luong <sluong@cisco.com>
Diffstat (limited to 'src/vnet/srp/node.c')
0 files changed, 0 insertions, 0 deletions