File unused-vars.patch of Package fastforward

--- fastforward-0.51.orig/setforward.c	1998-05-19 16:25:42.000000000 +0000
+++ fastforward-0.51/setforward.c	2012-05-15 01:04:28.000000000 +0000
@@ -80,12 +80,11 @@
   return r;
 }
 
-void main(argc,argv)
+int main(argc,argv)
 int argc;
 char **argv;
 {
   char ch;
-  int r;
 
   if (!stralloc_copys(&target,"")) nomem();
   if (!stralloc_copys(&command,"")) nomem();
@@ -170,5 +169,5 @@
   if (rename(fntmp,fncdb) == -1)
     strerr_die6sys(111,FATAL,"unable to move ",fntmp," to ",fncdb,": ");
   
-  _exit(0);
+  return EXIT_SUCCESS;
 }
openSUSE Build Service is sponsored by