mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 04:40:21 +00:00
bfdd: Prevent coverity from thinking values are uninited
Coverity is claiming that bfdd is able got have bglobal.bg_use_dplane can be true, while dplane_addr can be uninitialized. Not really possible since global variables are initialized to all 0's. In any event. Force it to think it can't go there. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
d87c526b1b
commit
e51c0f771d
@ -337,6 +337,8 @@ int main(int argc, char *argv[])
|
||||
bool ctlsockused = false;
|
||||
int opt;
|
||||
|
||||
bglobal.bg_use_dplane = false;
|
||||
|
||||
/* Initialize system sockets. */
|
||||
bg_init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user