Avoid false warning about potentially uninitialized variable
Change-Id: I969b17ffe89e5fbb0f30a47acecaf6698e81fefe
This commit is contained in:
@@ -331,7 +331,7 @@ bool lcl_checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* p
|
|||||||
|
|
||||||
SwTxtNode* pTxtNode = static_cast<SwTxtNode*>(pStartNode);
|
SwTxtNode* pTxtNode = static_cast<SwTxtNode*>(pStartNode);
|
||||||
|
|
||||||
const SfxPoolItem* pItem;
|
const SfxPoolItem* pItem = 0; // explicitly init to avoid warnings
|
||||||
bool bItemSet = false;
|
bool bItemSet = false;
|
||||||
if (pTxtNode->HasSwAttrSet())
|
if (pTxtNode->HasSwAttrSet())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user