diff --git a/src/common/JPGLibrary.hxx b/src/common/JPGLibrary.hxx index 028a4c0f6..67e1a3f69 100644 --- a/src/common/JPGLibrary.hxx +++ b/src/common/JPGLibrary.hxx @@ -56,8 +56,7 @@ class JPGLibrary // The following data remains between invocations of allocateStorage, // and is only changed when absolutely necessary. struct ReadInfoType { - unsigned char* buffer; - //vector buffer; + unsigned char* buffer{nullptr}; uInt32 width{0}, height{0}, pitch{0}; }; ReadInfoType myReadInfo;