summaryrefslogtreecommitdiffstats
path: root/pimd/pim_oil.c
diff options
context:
space:
mode:
authorpaco <paco@voltanet.io>2018-06-18 18:01:59 +0200
committerpaco <paco@voltanet.io>2018-06-18 18:01:59 +0200
commit1a36dd60fdfa67572d7f0a3fa337b4e0d6bf3e36 (patch)
tree5564c1aa7befc8d3544894539ee46ef37f752cbd /pimd/pim_oil.c
parentMerge pull request #2458 from pacovn/Coverity_1221437_Unchecked_return_value (diff)
downloadfrr-1a36dd60fdfa67572d7f0a3fa337b4e0d6bf3e36.tar.xz
frr-1a36dd60fdfa67572d7f0a3fa337b4e0d6bf3e36.zip
ospfd, pimd: redundant memset (cppcheck)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'pimd/pim_oil.c')
-rw-r--r--pimd/pim_oil.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pimd/pim_oil.c b/pimd/pim_oil.c
index fd3c04e8c..d49484f86 100644
--- a/pimd/pim_oil.c
+++ b/pimd/pim_oil.c
@@ -40,7 +40,6 @@ char *pim_channel_oil_dump(struct channel_oil *c_oil, char *buf, size_t size)
struct prefix_sg sg;
int i;
- memset(buf, 0, size);
sg.src = c_oil->oil.mfcc_origin;
sg.grp = c_oil->oil.mfcc_mcastgrp;
sprintf(buf, "%s IIF: %d, OIFS: ", pim_str_sg_dump(&sg),