summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-03-14 17:32:26 +0100
committerMichael Stahl <mstahl@redhat.com>2013-03-14 17:48:14 +0100
commit2968fbc470c32ac15d29b7c704c90e49b95d6658 (patch)
treeeea716c2783d5fb7a10141cd74e447e8192120a2
parent412956137043f15a38a9196f1ae8a32fe3b305f6 (diff)
spurious warning C4701: potentially uninitialized local variable
Change-Id: I6da0eb82ad6175e8b7eb70affa5f7cf0b05252f7
-rw-r--r--writerperfect/source/writer/MWAWImportFilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/writer/MWAWImportFilter.cxx b/writerperfect/source/writer/MWAWImportFilter.cxx
index c282a33e6bb7..7c1d823c41d3 100644
--- a/writerperfect/source/writer/MWAWImportFilter.cxx
+++ b/writerperfect/source/writer/MWAWImportFilter.cxx
@@ -257,7 +257,7 @@ bool MWAWObjectHandlerInternal::Shape::read(const char *psName, WPXPropertyList
}
else readOk = false;
- long w;
+ long w(0);
if (readOk)
{
char *res;