diff options
| author | Lou Berger <lberger@labn.net> | 2017-10-04 07:46:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-04 07:46:04 -0400 |
| commit | a04a5db1df00c0ef4fbb78b8b7d80b91c7c909ef (patch) | |
| tree | da1476b24cd0b87db35f5d6587fe5a8ae6172690 | |
| parent | c996743b78190935d453c22cea37840e71a0172d (diff) | |
| parent | 7f6778408b05005648413eb82b65e64e88d9cd9b (diff) | |
Merge pull request #1283 from donaldsharp/ldp_bite_me
ldpd: Fix compiler warning about uninitialized rt
| -rw-r--r-- | ldpd/ldp_vty_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/ldp_vty_exec.c b/ldpd/ldp_vty_exec.c index 459947c042..66c127abdc 100644 --- a/ldpd/ldp_vty_exec.c +++ b/ldpd/ldp_vty_exec.c @@ -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; |
