Kaydet (Commit) 19310906 authored tarafından Michael Stahl's avatar Michael Stahl

filter: valgrind uninitialized warning in filter_met_test

Change-Id: Iaa6a6ed0ef1b9ca3b3f72706ec3934c6c4a93322
üst 72edadf1
...@@ -789,10 +789,10 @@ sal_uLong OS2METReader::ReadLittleEndian3BytesLong() ...@@ -789,10 +789,10 @@ sal_uLong OS2METReader::ReadLittleEndian3BytesLong()
long OS2METReader::ReadCoord(bool b32) long OS2METReader::ReadCoord(bool b32)
{ {
sal_Int32 l; sal_Int32 l(0);
if (b32) pOS2MET->ReadInt32( l ); if (b32) pOS2MET->ReadInt32( l );
else { short s;pOS2MET->ReadInt16( s ); l=(sal_Int32)s; } else { short s(0); pOS2MET->ReadInt16( s ); l = static_cast<sal_Int32>(s); }
return l; return l;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment