From 75611ea17869a7f38c9775cf7b46818ae50600b8 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Fri, 2 May 2014 09:20:59 +0000 Subject: Fix uninitialized var --- src/Float32Data3DMemory.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Float32Data3DMemory.cpp') diff --git a/src/Float32Data3DMemory.cpp b/src/Float32Data3DMemory.cpp index 4522864..7b79d03 100644 --- a/src/Float32Data3DMemory.cpp +++ b/src/Float32Data3DMemory.cpp @@ -73,6 +73,7 @@ bool CFloat32Data3DMemory::_initialize(int _iWidth, int _iHeight, int _iDepth) m_pfData = NULL; m_ppfDataRowInd = NULL; m_pppfDataSliceInd = NULL; + m_pCustomMemory = 0; _allocateData(); // set minmax to default values @@ -108,6 +109,7 @@ bool CFloat32Data3DMemory::_initialize(int _iWidth, int _iHeight, int _iDepth, c m_pfData = NULL; m_ppfDataRowInd = NULL; m_pppfDataSliceInd = NULL; + m_pCustomMemory = 0; _allocateData(); // fill the data block with a copy of the input data @@ -144,6 +146,7 @@ bool CFloat32Data3DMemory::_initialize(int _iWidth, int _iHeight, int _iDepth, f m_pfData = NULL; m_ppfDataRowInd = NULL; m_pppfDataSliceInd = NULL; + m_pCustomMemory = 0; _allocateData(); // fill the data block with a copy of the input data -- cgit v1.2.3