mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
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:
parent
9de27c6c67
commit
ce3df3aeac
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user