Index: trunk/src/image/png_writer.cc
===================================================================
--- trunk/src/image/png_writer.cc	(revision 520)
+++ trunk/src/image/png_writer.cc	(revision 529)
@@ -47,9 +47,9 @@
 
 // initialize a callback-based context
-static void stbi__start_write_callbacks( stbi__write_context *s, stbi_write_func *c, void *context )
-{
-	s->func = c;
-	s->context = context;
-}
+// static void stbi__start_write_callbacks( stbi__write_context *s, stbi_write_func *c, void *context )
+// {
+// 	s->func = c;
+// 	s->context = context;
+// }
 
 typedef unsigned int stbiw_uint32;
@@ -65,4 +65,5 @@
 #define stbi__errpuc(x,y)  ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL))
 
+/*
 static void stbiw__writefv( stbi__write_context *s, const char *fmt, va_list v )
 {
@@ -139,5 +140,5 @@
 			break;
 		}
-		/* FALLTHROUGH */
+		// FALLTHROUGH 
 	case 3:
 		stbiw__write3( s, d[1 - rgb_dir], d[1], d[1 + rgb_dir] );
@@ -188,5 +189,5 @@
 	}
 }
-
+*/
 
 static unsigned int stbiw__crc32( unsigned char *buffer, int len )
@@ -253,5 +254,5 @@
 }
 
-unsigned char * stbi_zlib_compress( unsigned char *data, int data_len, int *out_len, int quality )
+unsigned char * stbi_zlib_compress( unsigned char *data, int data_len, int *out_len, int /*quality*/ )
 {
 	unsigned long expected = nv::miniz_bound( data_len );
