diff Meerwald/gen_dugad_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 ad1d224896c5
line wrap: on
line diff
--- a/Meerwald/gen_dugad_sig.c	Wed Apr 16 15:55:52 2008 +0200
+++ b/Meerwald/gen_dugad_sig.c	Tue Apr 22 13:36:05 2008 +0200
@@ -29,7 +29,6 @@
   char signature_name[MAXPATHLEN];
 
   int c;
-  int i;
   int n = 1000;
   int s = 0;
   int e = 2;
@@ -84,7 +83,7 @@
       case 'l':      
         l = atoi(optarg);
         if (l <= 0) {
-          fprintf(stderr, "%s: decomposition level %d out of range\n", l);
+          fprintf(stderr, "%s: decomposition level %d out of range\n", progname, l);
           exit(1);
         }
         break;

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