[12066] Optimize some parts for ++C

This commit is contained in:
stfx 2012-07-21 17:14:55 +02:00 committed by Schmoozerd
parent ba86b02dd4
commit 3707b04330
48 changed files with 163 additions and 163 deletions

View file

@ -565,7 +565,7 @@ BOOL WheatyExceptionReport::GetLogicalAddress(
// the linear address.
for (unsigned i = 0;
i < pNtHdr->FileHeader.NumberOfSections;
i++, pSection++)
++i, ++pSection)
{
DWORD_PTR sectionStart = pSection->VirtualAddress;
DWORD_PTR sectionEnd = sectionStart
@ -871,10 +871,10 @@ char* WheatyExceptionReport::DumpTypeIndex(
pszCurrBuffer += sprintf(pszCurrBuffer, "\r\n");
// Iterate through each of the children
for (unsigned i = 0; i < dwChildrenCount; i++)
for (unsigned i = 0; i < dwChildrenCount; ++i)
{
// Add appropriate indentation level (since this routine is recursive)
for (unsigned j = 0; j <= nestingLevel + 1; j++)
for (unsigned j = 0; j <= nestingLevel + 1; ++j)
pszCurrBuffer += sprintf(pszCurrBuffer, "\t");
// Recurse for each of the child types