comparison tools/libgfx.c @ 2330:659c5f3d2e12

Fix setjmp() warning.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 16 Sep 2019 10:38:33 +0300
parents 75216bf67fd2
children 82cb32297ed2
comparison
equal deleted inserted replaced
2329:0085ce04788b 2330:659c5f3d2e12
1255 res = dmError(DMERR_INIT_FAIL, 1255 res = dmError(DMERR_INIT_FAIL,
1256 "PNG: Error during image reading.\n"); 1256 "PNG: Error during image reading.\n");
1257 goto error; 1257 goto error;
1258 } 1258 }
1259 1259
1260 res = DMERR_OK;
1260 png_set_read_fn(png_ptr, fp, dmPNGReadData); 1261 png_set_read_fn(png_ptr, fp, dmPNGReadData);
1261 1262
1262 // Read image information 1263 // Read image information
1263 png_read_info(png_ptr, info_ptr); 1264 png_read_info(png_ptr, info_ptr);
1264 1265