coverity#708257: Unitialized scalar field

Change-Id: Ib46e6f5cb52cd47c4c9914b2f15633f5e6af1fe6
This commit is contained in:
Norbert Thiebaud
2014-04-05 23:04:51 -05:00
parent 2e77df6818
commit ac13f88b5d

View File

@@ -92,19 +92,21 @@ public:
SvDataPipe_Impl::SvDataPipe_Impl(sal_uInt32 nThePageSize, SvDataPipe_Impl::SvDataPipe_Impl(sal_uInt32 nThePageSize,
sal_uInt32 nTheMinPages, sal_uInt32 nTheMinPages,
sal_uInt32 nTheMaxPages): sal_uInt32 nTheMaxPages)
m_pFirstPage(0), : m_pFirstPage( 0 )
m_pReadPage(0), , m_pReadPage( 0 )
m_pWritePage(0), , m_pWritePage( 0 )
m_pReadBuffer(0), , m_pReadBuffer( 0 )
m_nPageSize(std::min< sal_uInt32 >( , m_nReadBufferSize( 0 )
std::max< sal_uInt32 >(nThePageSize, sal_uInt32(1)), , m_nReadBufferFilled( 0 )
sal_uInt32(std::numeric_limits< sal_uInt32 >::max() , m_nPageSize(std::min< sal_uInt32 >(
- sizeof (Page) + 1))), std::max< sal_uInt32 >(nThePageSize, sal_uInt32(1)),
m_nMinPages(std::max< sal_uInt32 >(nTheMinPages, sal_uInt32(1))), sal_uInt32(std::numeric_limits< sal_uInt32 >::max()
m_nMaxPages(std::max< sal_uInt32 >(nTheMaxPages, sal_uInt32(1))), - sizeof (Page) + 1)))
m_nPages(0), , m_nMinPages(std::max< sal_uInt32 >(nTheMinPages, sal_uInt32(1)))
m_bEOF(false) , m_nMaxPages(std::max< sal_uInt32 >(nTheMaxPages, sal_uInt32(1)))
, m_nPages( 0 )
, m_bEOF( false )
{} {}
inline void SvDataPipe_Impl::setReadBuffer(sal_Int8 * pBuffer, inline void SvDataPipe_Impl::setReadBuffer(sal_Int8 * pBuffer,