X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontext.c;h=0b433502e4fd4c9e234c4012eb643df2ea829d7f;hb=e26a8dee20d1726b4995821f717f867f50fc5659;hp=cf8309e01fb8e329b624f4a3ed534f030f31c484;hpb=42efcdda20499cbaf04294ed41ff1699465849ee;p=citadel.git diff --git a/citadel/context.c b/citadel/context.c index cf8309e01..0b433502e 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -276,12 +276,10 @@ void terminate_idle_sessions(void) { CitContext *ccptr; time_t now; - int session_to_kill; int killed = 0; int longrunners = 0; now = time(NULL); - session_to_kill = 0; begin_critical_section(S_SESSION_TABLE); for (ccptr = ContextList; ccptr != NULL; ccptr = ccptr->next) { if (