mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 07:56:29 +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;
|
bool ctlsockused = false;
|
||||||
int opt;
|
int opt;
|
||||||
|
|
||||||
|
bglobal.bg_use_dplane = false;
|
||||||
|
|
||||||
/* Initialize system sockets. */
|
/* Initialize system sockets. */
|
||||||
bg_init();
|
bg_init();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user