Imported from libpng-1.2.19beta5.tar

This commit is contained in:
Glenn Randers-Pehrson
2007-05-21 13:27:47 -05:00
parent ba880c5501
commit 8a9733e777
51 changed files with 260 additions and 243 deletions

View File

@@ -1515,8 +1515,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);
if(transforms == 0 || params == NULL)
/* quiet compiler warnings */ return;
transforms = transforms; /* quiet compiler warnings */
params = params;
}
#endif
#endif /* PNG_WRITE_SUPPORTED */