summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-08-18 10:50:34 +0300
committerTor Lillqvist <tlillqvist@suse.com>2013-08-18 10:51:43 +0300
commitaf4c9e60d68b08696f2d3fdb7d4abf39b9a62fc6 (patch)
tree02fab0115b8425dfe4e00fab2836ba578274bd46 /sw
parentd22964a936919faea3ae9734d253ddfd05c01bc8 (diff)
WaE: C4703: potentially uninitialized local pointer variable 'pIdx' used
Change-Id: Ifba5ca49202b22de35c241fa8282270096e6794e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/trvlreg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/trvlreg.cxx b/sw/source/core/crsr/trvlreg.cxx
index 26a96047f4a0..43be99a9c015 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 &&