comparison 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
comparison
equal deleted inserted replaced
7:2b350281f8b0 8:f83ef905a63d
27 27
28 char output_name[MAXPATHLEN] = "(stdout)"; 28 char output_name[MAXPATHLEN] = "(stdout)";
29 char signature_name[MAXPATHLEN]; 29 char signature_name[MAXPATHLEN];
30 30
31 int c; 31 int c;
32 int i;
33 int n = 1000; 32 int n = 1000;
34 int s = 0; 33 int s = 0;
35 int e = 2; 34 int e = 2;
36 int f = 1; 35 int f = 1;
37 int l = 3; 36 int l = 3;
82 usage(); 81 usage();
83 break; 82 break;
84 case 'l': 83 case 'l':
85 l = atoi(optarg); 84 l = atoi(optarg);
86 if (l <= 0) { 85 if (l <= 0) {
87 fprintf(stderr, "%s: decomposition level %d out of range\n", l); 86 fprintf(stderr, "%s: decomposition level %d out of range\n", progname, l);
88 exit(1); 87 exit(1);
89 } 88 }
90 break; 89 break;
91 case 'm': 90 case 'm':
92 m = atof(optarg); 91 m = atof(optarg);

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