Kaydet (Commit) f2f08dd3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Silence MSVC warning C4701

..."potentially uninitialized local variable 'nProgressReference' used" after
49f05934 "coverity#1427629 Unchecked return
value"

Change-Id: I710221f730c1c8fb416378de1a57f7e713244cef
üst 1e46bf5e
......@@ -146,7 +146,7 @@ void SwXMLImport::SetStatistics(
// guesstimate PROGRESS_BAR_STEPS each for meta+settings, styles,
// and autostyles.
bool bSetFallback = true;
sal_Int32 nProgressReference;
sal_Int32 nProgressReference = sal_Int32(); // silence C4701
if (nTokens & XML_TOK_META_STAT_PARA)
{
nProgressReference = static_cast<sal_Int32>(aDocStat.nPara);
......
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