[Libreoffice-commits] core.git: sw/source
Tor Lillqvist
tlillqvist at suse.com
Sun Aug 18 00:52:08 PDT 2013
sw/source/core/crsr/trvlreg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit af4c9e60d68b08696f2d3fdb7d4abf39b9a62fc6
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Sun Aug 18 10:50:34 2013 +0300
WaE: C4703: potentially uninitialized local pointer variable 'pIdx' used
Change-Id: Ifba5ca49202b22de35c241fa8282270096e6794e
diff --git a/sw/source/core/crsr/trvlreg.cxx b/sw/source/core/crsr/trvlreg.cxx
index 26a9604..43be99a 100644
--- a/sw/source/core/crsr/trvlreg.cxx
+++ b/sw/source/core/crsr/trvlreg.cxx
@@ -247,7 +247,7 @@ bool SwCursor::GotoRegion( const String& rName )
for( sal_uInt16 n = rFmts.size(); n; )
{
const SwSectionFmt* pFmt = rFmts[ --n ];
- const SwNodeIndex* pIdx;
+ const SwNodeIndex* pIdx = 0;
const SwSection* pSect;
if( 0 != ( pSect = pFmt->GetSection() ) &&
pSect->GetSectionName() == rName &&
More information about the Libreoffice-commits
mailing list