mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
ldpd: Fix compiler warning about uninitialized rt
Certain compilers cannot recognize that rt is actually being init'ed, but let's set it to NULL 'till we get them updated. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
c996743b78
commit
7f6778408b
@ -1509,7 +1509,7 @@ ldp_vty_dispatch_lib(struct vty *vty, struct imsg *imsg,
|
|||||||
struct show_params *params, json_object *json)
|
struct show_params *params, json_object *json)
|
||||||
{
|
{
|
||||||
static bool filtered = false;
|
static bool filtered = false;
|
||||||
struct ctl_rt *rt;
|
struct ctl_rt *rt = NULL;
|
||||||
struct prefix prefix;
|
struct prefix prefix;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user