File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ namespace Exiv2 {
9292 }
9393 }
9494 }
95- } // PngImage::PngImage
95+ }
9696
9797 std::string PngImage::mimeType () const
9898 {
@@ -102,7 +102,7 @@ namespace Exiv2 {
102102 static bool zlibToDataBuf (const byte* bytes,long length, DataBuf& result)
103103 {
104104 uLongf uncompressedLen = length * 2 ; // just a starting point
105- int zlibResult;
105+ int zlibResult = Z_BUF_ERROR ;
106106
107107 do {
108108 result.alloc (uncompressedLen);
@@ -130,7 +130,7 @@ namespace Exiv2 {
130130 static bool zlibToCompressed (const byte* bytes,long length, DataBuf& result)
131131 {
132132 uLongf compressedLen = length; // just a starting point
133- int zlibResult;
133+ int zlibResult = Z_BUF_ERROR ;
134134
135135 do {
136136 result.alloc (compressedLen);
You can’t perform that action at this time.
0 commit comments