diff options
author | jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-07-27 21:28:57 +0000 |
---|---|---|
committer | jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-07-27 21:28:57 +0000 |
commit | 515f92cd61e1933ef280ab96ee329a0a9f4a94f7 (patch) | |
tree | e286197546191a0bf2e9f52d5832bbddf5e08c95 /src | |
parent | Port fixes from internal Google Breakpad to SVN. (diff) | |
download | breakpad-515f92cd61e1933ef280ab96ee329a0a9f4a94f7.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/common/linux/dump_symbols.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc index 046c7b34..d46f515f 100644 --- a/src/common/linux/dump_symbols.cc +++ b/src/common/linux/dump_symbols.cc @@ -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; } |