A static analyzer has found an issue where the boolean variable af_cfgd in the bgp_show_one_peer_group function in bgpd/bgp_vty.c is uninitialized, leaving its value undefined. [declaration of variable af_cfgd bgpd/bgp_vty.c L17464](https://github.com/FRRouting/frr/blob/master/bgpd/bgp_vty.c#L17464) Only on line 17528, when the condition is met, the variable af_cfgd is assigned the value true. if the condition is not met, then no value is assigned to the af_cfgd variable. [assigning the variable af_cfgd the value true bgpd/bgp_vty.c L17528]( https://github.com/FRRouting/frr/blob/master/bgpd/bgp_vty.c#L17528) The value false for the variable af_cfgd is not assigned anywhere. And on line 17545, the variable af_cfgd is used. [Using a variable af_cfgd bgpd/bgp_vty.c L17545](https://github.com/FRRouting/frr/blob/master/bgpd/bgp_vty.c#L17545) <img width="672" height="687" alt="Image" src="https://github.com/user-attachments/assets/2de21948-f13c-4fe2-bf96-715590210801" />