mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-01-25 20:20:59 +00:00
Remove warnings about uninitialized fields.
A=jimblandy R=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@361 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
22734848ea
commit
515f92cd61
|
@ -251,6 +251,9 @@ static int LoadLineInfo(struct nlist *list,
|
||||||
// Don't set it here.
|
// Don't set it here.
|
||||||
// Will be processed in later pass.
|
// Will be processed in later pass.
|
||||||
line.source_id = -1;
|
line.source_id = -1;
|
||||||
|
// Compiler worries about uninitialized fields in copy for 'push_back'.
|
||||||
|
line.size = 0;
|
||||||
|
line.rva_to_base = 0;
|
||||||
func_info->line_info.push_back(line);
|
func_info->line_info.push_back(line);
|
||||||
++cur_list;
|
++cur_list;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue