summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-05-08 21:17:32 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-29 20:03:26 +0200
commit8da59e56def8884fd5b6a8b788c04f65242a8b0f (patch)
treeeca2a044b2e67feb41068199858d4ba8a8556f9f /ospfd/ospf_te.c
parentlib, zebra: remove uses of strncpy (diff)
downloadfrr-8da59e56def8884fd5b6a8b788c04f65242a8b0f.tar.xz
frr-8da59e56def8884fd5b6a8b788c04f65242a8b0f.zip
ospfd: initialize maybe-uninitialized bool
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r--ospfd/ospf_te.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index 1488aa88c..e68363663 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -2535,7 +2535,7 @@ DEFUN (show_ip_ospf_mpls_te_link,
struct interface *ifp = NULL;
struct listnode *node;
char *vrf_name = NULL;
- bool all_vrf;
+ bool all_vrf = false;
int inst = 0;
int idx_vrf = 0;
struct ospf *ospf = NULL;