]> granicus.if.org Git - cronie/commitdiff
Remove unused variables.
authorTim Landscheidt <tim@tim-landscheidt.de>
Wed, 6 Jun 2012 14:03:49 +0000 (16:03 +0200)
committerMarcela Mašláňová <mmaslano@redhat.com>
Wed, 6 Jun 2012 14:03:49 +0000 (16:03 +0200)
Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
anacron/readtab.c
anacron/runjob.c

index aa9eb93867ddc588a473920151bbb974a179355e..4d6b39472cb7d1672eb6ccc9a6405dcdfa98d24b 100644 (file)
@@ -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++;
index 32c71003c2d57ba7860037313fa29f11a2fbb1b2..d50b600523f236e7998eafa986364a5e38bce3f5 100644 (file)
@@ -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))