diff options
author | Dimitri Staessens <[email protected]> | 2020-02-16 15:50:03 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2020-02-16 18:27:26 +0100 |
commit | 52e44a55d3b12819a79566067ff0361854da5002 (patch) | |
tree | 6651e9022e16a1d0281d0e9c268bd185f335562a /src/ipcpd | |
parent | b46ba7bb7405c3b5a85f4203f816e623a5edb2d7 (diff) | |
download | ouroboros-52e44a55d3b12819a79566067ff0361854da5002.tar.gz ouroboros-52e44a55d3b12819a79566067ff0361854da5002.zip |
ipcpd: Fix uninitialized variable in graph
During refactor a variable initialization was removed.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd')
-rw-r--r-- | src/ipcpd/unicast/pol/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/unicast/pol/graph.c b/src/ipcpd/unicast/pol/graph.c index d774e845..e76a47fb 100644 --- a/src/ipcpd/unicast/pol/graph.c +++ b/src/ipcpd/unicast/pol/graph.c @@ -620,7 +620,7 @@ static int graph_routing_table_lfa(struct graph * graph, struct vertex * v; struct edge * e; struct vertex ** nhops; - int i; + int i = 0; int j; int k; |