Bug 615534 warning: operation ++ on 'i' may be undefined as i is used again in an argument to CopyIndexAfterObject in MinidumpGenerator::WriteMemoryListStream. r+a=ted

This commit is contained in:
timeless@mozdev.org 2010-11-30 15:44:36 +00:00
parent 9de27c6c67
commit ce3df3aeac

View File

@ -641,7 +641,7 @@ bool MinidumpGenerator::WriteMemoryListStream(
unsigned int i;
for (i = 0; i < memory_count; ++i) {
list.CopyIndexAfterObject(i++, &memory_blocks_[i],
list.CopyIndexAfterObject(i, &memory_blocks_[i],
sizeof(MDMemoryDescriptor));
}