summaryrefslogtreecommitdiff
path: root/pimd/pim_pim.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-13 08:35:47 -0400
committerGitHub <noreply@github.com>2018-09-13 08:35:47 -0400
commit38ee5e636d116891b56327577de63ccb17d2bb05 (patch)
tree67f22e0622da148fcdc5e154c1c0d98bda31e937 /pimd/pim_pim.c
parentf2e946e6813e22966c615c7d7014bc0d7405b4a3 (diff)
parentdc7204b77579fc5667c330a8917eb55e1829f2c9 (diff)
Merge pull request #3009 from pacovn/static_analysis__shadow_variables3
pimd ripd ripngd: variable shadowing fixes
Diffstat (limited to 'pimd/pim_pim.c')
-rw-r--r--pimd/pim_pim.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c
index d5ee30fb2e..cf078064d8 100644
--- a/pimd/pim_pim.c
+++ b/pimd/pim_pim.c
@@ -573,8 +573,6 @@ int pim_msg_send(int fd, struct in_addr src, struct in_addr dst,
ip->ip_len = htons(sendlen);
if (PIM_DEBUG_PIM_PACKETS) {
- struct pim_msg_header *header =
- (struct pim_msg_header *)pim_msg;
char dst_str[INET_ADDRSTRLEN];
pim_inet4_dump("<dst?>", dst, dst_str, sizeof(dst_str));
zlog_debug("%s: to %s on %s: msg_size=%d checksum=%x",