aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/dump_symbols.cc
diff options
context:
space:
mode:
authorjimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-07-27 21:28:57 +0000
committerjimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-07-27 21:28:57 +0000
commit515f92cd61e1933ef280ab96ee329a0a9f4a94f7 (patch)
treee286197546191a0bf2e9f52d5832bbddf5e08c95 /src/common/linux/dump_symbols.cc
parentPort fixes from internal Google Breakpad to SVN. (diff)
downloadbreakpad-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/common/linux/dump_symbols.cc')
-rw-r--r--src/common/linux/dump_symbols.cc3
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;
}