From 9841ba78bc18c8c9f91ad47702e9fae939a3dcbc Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 25 Apr 2005 14:19:03 +0000 Subject: [PATCH] uninitialized variable --- lib/gdi/epng.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gdi/epng.cpp b/lib/gdi/epng.cpp index 8a4c3f4c..9c12bb10 100644 --- a/lib/gdi/epng.cpp +++ b/lib/gdi/epng.cpp @@ -111,6 +111,7 @@ int loadPNG(ePtr &result, const char *filename) surface->clut.data=0; surface->clut.colors=0; } + surface->clut.start=0; png_read_end(png_ptr, end_info); } else result=0; -- 2.30.2