Mercurial > hg > wm
comparison Fotopoulos/cast-pv.c @ 13:cbecc570129d
cleanup warnings
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Mon, 30 Jun 2008 15:43:16 +0200 |
parents | be303a3f5ea8 |
children |
comparison
equal
deleted
inserted
replaced
12:6f5fea21a43c | 13:cbecc570129d |
---|---|
19 #include <string.h> | 19 #include <string.h> |
20 #include <math.h> | 20 #include <math.h> |
21 #include <float.h> | 21 #include <float.h> |
22 #include <getopt.h> | 22 #include <getopt.h> |
23 #include "common.h" | 23 #include "common.h" |
24 #include "pgm.h" | |
24 | 25 |
25 double cu[1024]; | 26 double cu[1024]; |
26 double cv[1024]; | 27 double cv[1024]; |
27 int height, width; | 28 int height, width; |
28 | 29 |
127 save_image(image_i, out, width, height); | 128 save_image(image_i, out, width, height); |
128 freematrix(image_i, height); | 129 freematrix(image_i, height); |
129 free(image_f); | 130 free(image_f); |
130 fclose(in); | 131 fclose(in); |
131 fclose(out); | 132 fclose(out); |
133 | |
134 exit(EXIT_SUCCESS); | |
132 } | 135 } |