< prev index next >
src/java.desktop/share/native/libsplashscreen/splashscreen_png.c
Print this page
*** 46,58 ****
--- 46,67 ----
SplashDecodePng(Splash * splash, png_rw_ptr read_func, void *io_ptr)
{
int stride;
ImageFormat srcFormat;
png_uint_32 i, rowbytes;
+
+ #ifdef __GNUC__
+ #pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wclobbered"
+ #endif
png_bytepp row_pointers = NULL;
png_bytep image_data = NULL;
int success = 0;
+ #ifdef __GNUC__
+ #pragma GCC diagnostic pop
+ #endif
+
double gamma;
png_structp png_ptr = NULL;
png_infop info_ptr = NULL;
< prev index next >