summaryrefslogtreecommitdiffstats
path: root/src/Float32Data2D.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-05-02 09:20:59 +0000
committerwpalenst <Willem.Jan.Palenstijn@cwi.nl>2014-05-02 09:20:59 +0000
commit75611ea17869a7f38c9775cf7b46818ae50600b8 (patch)
tree7b9657a71308c245e45347ce0bbe48179a41efff /src/Float32Data2D.cpp
parent1dd79f23f783564719a52de7d9b54b17005c32d7 (diff)
downloadastra-75611ea17869a7f38c9775cf7b46818ae50600b8.tar.gz
astra-75611ea17869a7f38c9775cf7b46818ae50600b8.tar.bz2
astra-75611ea17869a7f38c9775cf7b46818ae50600b8.tar.xz
astra-75611ea17869a7f38c9775cf7b46818ae50600b8.zip
Fix uninitialized var
Diffstat (limited to 'src/Float32Data2D.cpp')
-rw-r--r--src/Float32Data2D.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Float32Data2D.cpp b/src/Float32Data2D.cpp
index 151f58d..e2d7ef3 100644
--- a/src/Float32Data2D.cpp
+++ b/src/Float32Data2D.cpp
@@ -162,6 +162,7 @@ bool CFloat32Data2D::_initialize(int _iWidth, int _iHeight)
// allocate memory for the data, but do not fill it
m_pfData = 0;
m_ppfData2D = 0;
+ m_pCustomMemory = 0;
_allocateData();
// set minmax to default values
@@ -196,6 +197,7 @@ bool CFloat32Data2D::_initialize(int _iWidth, int _iHeight, const float32 *_pfDa
// allocate memory for the data
m_pfData = 0;
m_ppfData2D = 0;
+ m_pCustomMemory = 0;
_allocateData();
// fill the data block with a copy of the input data
@@ -228,6 +230,7 @@ bool CFloat32Data2D::_initialize(int _iWidth, int _iHeight, float32 _fScalar)
// allocate memory for the data
m_pfData = 0;
m_ppfData2D = 0;
+ m_pCustomMemory = 0;
_allocateData();
// fill the data block with a copy of the input data