Subject: Fixed Purify complaints
From: Mike Nordell (tamlin@algonet.se)
Date: Fri May 05 2000 - 10:41:42 CDT
I've checked into the problems that Purify reported about Uninitialized
Memory Read and fixed them.
af/xap/win/xap_Win32Frame.cpp from
Modify XAP_Win32Frame c'tor initializer-list
: XAP_Frame(static_cast<XAP_App *>(app)),
m_dialogFactory(this, static_cast<XAP_App *>(app)),
to
: XAP_Frame(app),
m_dialogFactory(this, app),
m_iBarHeight(0),
m_iStatusBarHeight(0)
---text/fmt/xp/fp_Column.cpp Add the following initializer-list to the c'tor of fp_Container
: m_iMaxHeight(0), m_iMaxHeightLayoutUnits(0), m_iHeight(0), m_iHeightLayoutUnits(0)
and remove the assignment of 'm_iHeight' from the body of the c'tor.
---
text/fmt/xp/fv_View.cpp Modify the initializer-list of FV_View c'tor to
: AV_View(pApp, pParentData), m_bCursorIsOn(UT_FALSE)
---
wp/ap/xp/ap_StatusBar.cpp Modify the end of the body of AP_StatusBar c'tor from
s_iFixedHeight = 20; }
to
m_bufUCS[0] = 0; // previously read before initialized s_iFixedHeight = 20; }
This archive was generated by hypermail 2b25 : Fri May 05 2000 - 10:13:54 CDT