author | eilers <eilers> | 2005-03-19 17:13:47 (UTC) |
---|---|---|
committer | eilers <eilers> | 2005-03-19 17:13:47 (UTC) |
commit | 205bc8739f3f2c464b046bf8ea53f985a62c12a4 (patch) (side-by-side diff) | |
tree | 74d807160d4cbebbfef2bf26af975f11bed8da72 /libopie2/opiepim/backend | |
parent | ea15abad0554edab0746f342fafddd461a0fb0eb (diff) | |
download | opie-205bc8739f3f2c464b046bf8ea53f985a62c12a4.zip opie-205bc8739f3f2c464b046bf8ea53f985a62c12a4.tar.gz opie-205bc8739f3f2c464b046bf8ea53f985a62c12a4.tar.bz2 |
Oops.. member variable m_read was not initialized.
This may cause crash as reported by #1608 (hopefully)
-rw-r--r-- | libopie2/opiepim/backend/opimaccessbackend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiepim/backend/opimaccessbackend.h b/libopie2/opiepim/backend/opimaccessbackend.h index 6666fd6..71f81f4 100644 --- a/libopie2/opiepim/backend/opimaccessbackend.h +++ b/libopie2/opiepim/backend/opimaccessbackend.h @@ -139,12 +139,13 @@ private: template <class T> OPimAccessBackend<T>::OPimAccessBackend(int acc) : m_acc( acc ) { m_front = 0l; + m_read = 20; } template <class T> OPimAccessBackend<T>::~OPimAccessBackend() { } |