diff Fotopoulos/cast-hart.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/cast-hart.c	Thu May 01 19:12:21 2008 +0200
+++ b/Fotopoulos/cast-hart.c	Mon Jun 30 15:43:16 2008 +0200
@@ -19,13 +19,14 @@
 #include <float.h>
 #include <getopt.h>
 #include "common.h"
+#include "pgm.h"
 
 int height, width;
 
 void add_watermark(double **in, int N, int coeff_start, int wm_length, int wm_key, double wm_alpha)
 {
   int row, col, count;
-  long int elem, L, M, temp, seed;
+  long int elem, L, M, seed;
   double a;
   count = 0;
   elem = 0;
@@ -108,5 +109,5 @@
   freematrix_d(image_d, height);
   fclose(in);
   fclose(out);
-
+  exit(EXIT_SUCCESS);
 }

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