Kaydet (Commit) d00bcca7 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#738763: Unitialized scalar field

Change-Id: I3eee225397c55a1caee433189dd4b28c03aabac5
üst 2639d2f7
...@@ -62,7 +62,12 @@ class CBenTOCReader ...@@ -62,7 +62,12 @@ class CBenTOCReader
{ {
public: // Methods public: // Methods
CBenTOCReader(pLtcBenContainer pContainer) CBenTOCReader(pLtcBenContainer pContainer)
{ cpContainer = pContainer; cpTOC = NULL; cCurr = 0; } : cpContainer(pContainer)
, cpTOC(NULL)
, cBlockSize(0)
, cCurr(0)
, cTOCSize(0)
{ }
~CBenTOCReader() { delete[] cpTOC; } ~CBenTOCReader() { delete[] cpTOC; }
BenError ReadLabelAndTOC(); BenError ReadLabelAndTOC();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment