diff Meerwald/gen_cox_sig.c @ 8:f83ef905a63d

fixing many warnings increase capacity for coordinates in bruyn fix some uninit. variables
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Tue, 22 Apr 2008 13:36:05 +0200
parents be303a3f5ea8
children 4987db85cfae
line wrap: on
line diff
--- a/Meerwald/gen_cox_sig.c	Wed Apr 16 15:55:52 2008 +0200
+++ b/Meerwald/gen_cox_sig.c	Tue Apr 22 13:36:05 2008 +0200
@@ -23,7 +23,6 @@
   char signature_name[MAXPATHLEN];
 
   int c;
-  int i;
   int n = 100;
   int s = 0;
   double a = 0.3;
@@ -115,7 +114,7 @@
       fprintf(stderr, "%s: invalid signature file %s\n", progname, signature_name);
       exit(1);
     }
-    close(sig);
+    fclose(sig);
   }
 
   if (s)

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.