Merge pull request #1283 from donaldsharp/ldp_bite_me

ldpd: Fix compiler warning about uninitialized rt
This commit is contained in:
Lou Berger 2017-10-04 07:46:04 -04:00 committed by GitHub
commit a04a5db1df

View File

@ -1509,7 +1509,7 @@ ldp_vty_dispatch_lib(struct vty *vty, struct imsg *imsg,
struct show_params *params, json_object *json)
{
static bool filtered = false;
struct ctl_rt *rt;
struct ctl_rt *rt = NULL;
struct prefix prefix;
int ret;