X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontext.c;h=695b2a0a7efde70a47fd31e2cd59bf878832b4aa;hb=976ecc57b694ee60412d9b4a1be2fd07611d4ee2;hp=ecff59eb2fe3ce9fa5665801998cced417956637;hpb=feb542114454b1f979c025ede9474f53b6715bce;p=citadel.git diff --git a/citadel/context.c b/citadel/context.c index ecff59eb2..695b2a0a7 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 (