aboutsummaryrefslogtreecommitdiffstats
path: root/pngwrite.c
diff options
context:
space:
mode:
authorcarvsdriver <carvsdriver@gmail.com>2013-06-27 13:11:21 -0400
committerMike Grissom <mikeyman77@gmail.com>2013-07-13 10:34:41 -0700
commit1c1a497260ca86a5907469e7218e0faef22f3873 (patch)
tree1559e4dfac812a038e8d050d447d42d8a783b4bf /pngwrite.c
parent41e4a032ef9f599ea597dcdff1797f0ea49bdd97 (diff)
downloadexternal_libpng-1c1a497260ca86a5907469e7218e0faef22f3873.zip
external_libpng-1c1a497260ca86a5907469e7218e0faef22f3873.tar.gz
external_libpng-1c1a497260ca86a5907469e7218e0faef22f3873.tar.bz2
external: libpng: fix numerous compiler warnings
Clean up the code for unused variables to handle them a bit more elegantly. Change-Id: I8b01c27673128719dad74276599d5a286c4dd412
Diffstat (limited to 'pngwrite.c')
-rw-r--r--pngwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngwrite.c b/pngwrite.c
index 1d8c53f..646c3d3 100644
--- a/pngwrite.c
+++ b/pngwrite.c
@@ -1586,8 +1586,8 @@ png_write_png(png_structp png_ptr, png_infop info_ptr,
/* It is REQUIRED to call this to finish writing the rest of the file */
png_write_end(png_ptr, info_ptr);
- transforms = transforms; /* Quiet compiler warnings */
- params = params;
+ UNUSED(transforms); /* Quiet compiler warnings */
+ UNUSED(params);
}
#endif
#endif /* PNG_WRITE_SUPPORTED */