Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /resample.c [357c36] .. [91c838] Maximize Restore

  Switch to side-by-side view

--- a/resample.c
+++ b/resample.c
@@ -427,7 +427,8 @@
 // Nearest neighbor sampling, nowhere used (yet)
 
 static void nn( unsigned char *dst, unsigned char **rgb, 
-		register double Dx, register double Dy,	int color, int SamplesPerPixel)
+		register double Dx PT_UNUSED, register double Dy PT_UNUSED,	
+		int color, int SamplesPerPixel)
 		{
 			RESAMPLE_N( NNEIGHBOR, 1, char)	}
 
@@ -487,7 +488,8 @@
 // Nearest neighbor sampling, nowhere used (yet)
 
 static void nn_16( unsigned char *dst, unsigned char **rgb, 
-		register double Dx, register double Dy,	int color, int SamplesPerPixel)
+		register double Dx PT_UNUSED, register double Dy PT_UNUSED,
+		int color, int SamplesPerPixel)
 		{
 			RESAMPLE_N( NNEIGHBOR, 1, short)	}