Kaydet (Commit) 4fbbfc22 authored tarafından Douglas Mencken's avatar Douglas Mencken Kaydeden (comit) Tomaž Vajngerl

WoE: while (..) {} instead of while(..);

"warning: suggest a space before ';' or explicit braces around empty body"

Change-Id: I71a55cc888d3480217621491ecace7d0af3dca6e
Reviewed-on: https://gerrit.libreoffice.org/9441Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
Tested-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
üst c0765d1b
......@@ -1133,7 +1133,7 @@ static sal_Char* OslProfile_getLine(osl_TFile* pFile)
pFile->m_pReadPtr = pChr;
}
while (Max > 0);
while (Max > 0) ;
return pLine;
}
......
......@@ -700,7 +700,7 @@ static bool ImplKillTrailingWithExceptions( OUString& rName, const char* const*
else
{
// skip exception strings
while( *++ppStr );
while( *++ppStr ) {}
}
}
......
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