X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fcontext.c;h=0b433502e4fd4c9e234c4012eb643df2ea829d7f;hp=cf8309e01fb8e329b624f4a3ed534f030f31c484;hb=e26a8dee20d1726b4995821f717f867f50fc5659;hpb=e1241b61d2f8d7935670c36ab5fb4e10262514a6 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 (