From: Tim Landscheidt Date: Wed, 6 Jun 2012 14:03:49 +0000 (+0200) Subject: Remove unused variables. X-Git-Tag: cronie1.4.9~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=373b02b6d398e5b8736707cbb0a26f2573de2393;p=cronie Remove unused variables. Signed-off-by: Marcela Mašláňová --- 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))