diff 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
line wrap: on
line diff
--- a/tools/libgfx.c	Mon Sep 16 10:24:49 2019 +0300
+++ b/tools/libgfx.c	Mon Sep 16 10:38:33 2019 +0300
@@ -1257,6 +1257,7 @@
         goto error;
     }
 
+    res = DMERR_OK;
     png_set_read_fn(png_ptr, fp, dmPNGReadData);
 
     // Read image information