From: Maria Matejka Date: Mon, 8 Jul 2019 11:04:50 +0000 (+0200) Subject: Nest: Uninitialized variable fix X-Git-Tag: v2.0.5~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05e3933c06b488e71c9c149c25aec9c733a8bd1f;p=thirdparty%2Fbird.git Nest: Uninitialized variable fix Thanks to Vincent Bernat for reporting this. --- diff --git a/nest/rt-table.c b/nest/rt-table.c index 0b7962289..327156c8e 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -1575,7 +1575,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);