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:
jimblandy@gmail.com 2009-07-27 21:28:57 +00:00
parent 22734848ea
commit 515f92cd61

View file

@ -251,6 +251,9 @@ static int LoadLineInfo(struct nlist *list,
// Don't set it here.
// Will be processed in later pass.
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);
++cur_list;
}