pimd: Fix compiler warnings.
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 90ca07c..9363e3c 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -1006,7 +1006,6 @@
struct interface *ifp;
struct pim_interface *pim_ifp;
struct pim_ifchannel *ch;
- struct in_addr me_ifaddr;
char src_str[100];
char grp_str[100];
@@ -1020,8 +1019,6 @@
if (!pim_ifp)
continue;
- me_ifaddr = pim_ifp->primary_address;
-
/* scan per-interface (S,G) state */
for (ALL_LIST_ELEMENTS_RO(pim_ifp->pim_ifchannel_list, chnode, ch)) {
struct pim_upstream *up = ch->upstream;
@@ -1249,9 +1246,6 @@
{
struct listnode *ifnode;
struct interface *ifp;
- time_t now;
-
- now = pim_time_monotonic_sec();
vty_out(vty, "Interface Address Group RetTimer Counter RetSrcs%s", VTY_NEWLINE);
@@ -1446,9 +1440,6 @@
{
struct listnode *ifnode;
struct interface *ifp;
- time_t now;
-
- now = pim_time_monotonic_sec();
vty_out(vty, "Interface Address Group Source Counter%s", VTY_NEWLINE);