diff options
author | Maria Matejka <mq@ucw.cz> | 2019-03-22 21:40:35 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2019-03-22 21:40:35 +0100 |
commit | 7078aa63ae498b55c729df4a075eb28019917e81 (patch) | |
tree | 5c7f83889d05e9998d1574b3097ae8e3e7e2a3c1 /nest/rt-table.c | |
parent | 2ab680c6972306db71d9a8d4ee4fabf265981d30 (diff) |
Fixed one warning and one undefined value.
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 12966eca..53f5d979 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -1576,7 +1576,7 @@ rte_update2(struct channel *c, const net_addr *n, rte *new, struct rte_src *src) } else if (filter) { - rta *old_attrs; + rta *old_attrs = NULL; rte_make_tmp_attrs(&new, rte_update_pool, &old_attrs); int fr = f_run(filter, &new, rte_update_pool, 0); |