changeset 2330:659c5f3d2e12

Fix setjmp() warning.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 16 Sep 2019 10:38:33 +0300
parents 0085ce04788b
children 6dc64deb6718
files tools/libgfx.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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