diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2014-05-02 09:20:59 +0000 |
---|---|---|
committer | wpalenst <Willem.Jan.Palenstijn@cwi.nl> | 2014-05-02 09:20:59 +0000 |
commit | 75611ea17869a7f38c9775cf7b46818ae50600b8 (patch) | |
tree | 7b9657a71308c245e45347ce0bbe48179a41efff /src/Float32Data3DMemory.cpp | |
parent | 1dd79f23f783564719a52de7d9b54b17005c32d7 (diff) | |
download | astra-75611ea17869a7f38c9775cf7b46818ae50600b8.tar.gz astra-75611ea17869a7f38c9775cf7b46818ae50600b8.tar.bz2 astra-75611ea17869a7f38c9775cf7b46818ae50600b8.tar.xz astra-75611ea17869a7f38c9775cf7b46818ae50600b8.zip |
Fix uninitialized var
Diffstat (limited to 'src/Float32Data3DMemory.cpp')
-rw-r--r-- | src/Float32Data3DMemory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 |