diff Fotopoulos/test-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
line wrap: on
line diff
--- a/Fotopoulos/test-pv.c	Thu May 01 19:12:21 2008 +0200
+++ b/Fotopoulos/test-pv.c	Mon Jun 30 15:43:16 2008 +0200
@@ -20,6 +20,7 @@
 #include <float.h>
 #include <getopt.h>
 #include "common.h"
+#include "pgm.h"
 
 double cu[1024];
 double cv[1024];
@@ -31,7 +32,6 @@
   long int elem, L, M, temp, seed, i;
   double a;
   double z;
-  FILE *f;
   M = start_coeff;
   L = wm_length;
   a = wm_alpha;
@@ -124,4 +124,6 @@
   fclose(in);
   freematrix(image_i, height);
   free(image_f);
+
+  exit(EXIT_SUCCESS);
 }

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