From 2c544ef03e3163bcad7209da99ead207e31bc868 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 29 Nov 2013 08:55:16 +0100 Subject: [PATCH] Avoid false warning about potentially uninitialized variable Change-Id: I969b17ffe89e5fbb0f30a47acecaf6698e81fefe --- sw/source/filter/ww8/docxattributeoutput.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 419d74512359..a01788e7dd7a 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -331,7 +331,7 @@ bool lcl_checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* p SwTxtNode* pTxtNode = static_cast(pStartNode); - const SfxPoolItem* pItem; + const SfxPoolItem* pItem = 0; // explicitly init to avoid warnings bool bItemSet = false; if (pTxtNode->HasSwAttrSet()) {