diff options
author | F. Aragon <paco@voltanet.io> | 2018-11-21 12:58:48 +0100 |
---|---|---|
committer | F. Aragon <paco@voltanet.io> | 2018-11-21 14:45:42 +0100 |
commit | 48944eb65e1d1ced03d46121d923d9d613a480d5 (patch) | |
tree | 07ecea07b2591bdcceb6b642a371e4500a3dee98 /pbrd/pbr_nht.c | |
parent | Merge pull request #3358 from opensourcerouting/libtool-cfg-warn (diff) | |
download | frr-48944eb65e1d1ced03d46121d923d9d613a480d5.tar.xz frr-48944eb65e1d1ced03d46121d923d9d613a480d5.zip |
isisd lib ospfd pbrd python: fix empty init
ISO C forbids empty initializer braces. Empty initializers have been
replaced with {0}
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'pbrd/pbr_nht.c')
-rw-r--r-- | pbrd/pbr_nht.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c index 6103bd7db..db958e833 100644 --- a/pbrd/pbr_nht.c +++ b/pbrd/pbr_nht.c @@ -232,9 +232,9 @@ void pbr_nhgroup_add_nexthop_cb(const struct nexthop_group_cmd *nhgc, const struct nexthop *nhop) { char debugstr[256]; - struct pbr_nexthop_group_cache pnhgc_find = {}; + struct pbr_nexthop_group_cache pnhgc_find = {0}; struct pbr_nexthop_group_cache *pnhgc; - struct pbr_nexthop_cache pnhc_find = {}; + struct pbr_nexthop_cache pnhc_find = {0}; struct pbr_nexthop_cache *pnhc; if (!pbr_nht_get_next_tableid(true)) { @@ -270,9 +270,9 @@ void pbr_nhgroup_del_nexthop_cb(const struct nexthop_group_cmd *nhgc, const struct nexthop *nhop) { char debugstr[256]; - struct pbr_nexthop_group_cache pnhgc_find = {}; + struct pbr_nexthop_group_cache pnhgc_find = {0}; struct pbr_nexthop_group_cache *pnhgc; - struct pbr_nexthop_cache pnhc_find = {}; + struct pbr_nexthop_cache pnhc_find = {0}; struct pbr_nexthop_cache *pnhc; enum nexthop_types_t nh_afi = nhop->type; |