From 373b02b6d398e5b8736707cbb0a26f2573de2393 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Wed, 6 Jun 2012 16:03:49 +0200 Subject: [PATCH] Remove unused variables. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcela Mašláňová --- anacron/readtab.c | 3 +-- anacron/runjob.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/anacron/readtab.c b/anacron/readtab.c index aa9eb93..4d6b394 100644 --- a/anacron/readtab.c +++ b/anacron/readtab.c @@ -194,9 +194,8 @@ register_period_job(const char *periods, const char *delays, { int delay; job_rec *jr; - int period_len, ident_len, command_len; + int ident_len, command_len; - period_len = strlen(periods); ident_len = strlen(ident); command_len = strlen(command); jobs_read++; diff --git a/anacron/runjob.c b/anacron/runjob.c index 32c7100..d50b600 100644 --- a/anacron/runjob.c +++ b/anacron/runjob.c @@ -166,7 +166,6 @@ launch_mailer(job_rec *jr) { pid_t pid; struct stat buf; - int r; /* Check that we have a way of sending mail. */ if(stat(SENDMAIL, &buf)) -- 2.40.0