uninitialized variable
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 25 Apr 2005 14:19:03 +0000 (14:19 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 25 Apr 2005 14:19:03 +0000 (14:19 +0000)
lib/gdi/epng.cpp

index 8a4c3f4cf35cdbe49abedd69b443103123653e4a..9c12bb10cb504161b2ce0f8287176941200996b3 100644 (file)
@@ -111,6 +111,7 @@ int loadPNG(ePtr<gPixmap> &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;