зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
9de27c6c67
Коммит
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));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче