diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-26 01:14:25 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-26 01:46:40 +0200 |
commit | a97986ffba560458b2b1e88b09b31822f78d8542 (patch) | |
tree | 49ae3ae301d7e1052d69fe0884a565897ca65576 /pimd/pim_join.c | |
parent | Merge pull request #1045 from opensourcerouting/clippy-coverity (diff) | |
download | frr-a97986ffba560458b2b1e88b09b31822f78d8542.tar.xz frr-a97986ffba560458b2b1e88b09b31822f78d8542.zip |
*: fix compiler warnings
Specifically, gcc 4.2.1 on OpenBSD 6.0 warns about these; they're bogus
(gcc 4.2, being rather old, isn't quite as "intelligent" as newer
versions; the newer ones apply more logic and less warnings.)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_join.c')
-rw-r--r-- | pimd/pim_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c index 9d65330e5..4f5e53401 100644 --- a/pimd/pim_join.c +++ b/pimd/pim_join.c @@ -414,7 +414,7 @@ int pim_joinprune_send(struct pim_rpf *rpf, struct list *groups) struct pim_jp_agg_group *group; struct pim_interface *pim_ifp = NULL; struct pim_jp_groups *grp = NULL; - struct pim_jp *msg; + struct pim_jp *msg = NULL; struct listnode *node, *nnode; uint8_t pim_msg[10000]; uint8_t *curr_ptr = pim_msg; |