diff options
author | Steven Luong <sluong@cisco.com> | 2021-03-03 19:03:38 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-03-04 10:58:35 +0000 |
commit | 8d462190587f78658c8a9e33ed4f35c2d873965f (patch) | |
tree | f420d3488930fe32d27e59cb8cc1323516170a8c /src/plugins | |
parent | b4704f2570fb2484b3085c8d25d0c850cc3fc77f (diff) |
bonding: coverity woe in bond_dev_class fuction
Coverity complans the line
h = hashes;
uses uninitialized variable if the prior ASSERT statement is hit.
ASSERT is compiled out coverity as well as in release image. So the
complain is legitimate. Change the ASSERT to drop the frame and log
an error instead.
Type: fix
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Ibf0c204fe3626afca69ea84484e606566cf3244c
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions