From 18209e2c256eff5713564a2b659c1cee08d013b3 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 4 Mar 2015 07:13:38 +0100 Subject: [PATCH] isisd: assorted fixes (unused variables, static) This just mops up a few warnings in isisd. Signed-off-by: David Lamparter (cherry picked from commit f50ee93d12f8213a048a04fcf7d73e12662288e5) --- isisd/isis_lsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index ec3bc1d2bf..7309248611 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -2742,7 +2742,7 @@ static int top_lsp_refresh (struct thread *thread) { struct isis_lsp *lsp; - u_int16_t rem_lifetime, refresh_time; + u_int16_t rem_lifetime; lsp = THREAD_ARG (thread); assert (lsp); @@ -2767,7 +2767,7 @@ top_lsp_refresh (struct thread *thread) rem_lifetime = lsp_rem_lifetime (lsp->area, IS_LEVEL_1); lsp->lsp_header->rem_lifetime = htons (rem_lifetime); - refresh_time = lsp_refresh_time (lsp, rem_lifetime); + /* refresh_time = lsp_refresh_time (lsp, rem_lifetime); */ THREAD_TIMER_ON (master, lsp->t_lsp_top_ref, top_lsp_refresh, lsp, lsp->area->lsp_refresh[0]); -- 2.39.5