From 1147cc4920a56730ec2497789ff71cee0bc99ec3 Mon Sep 17 00:00:00 2001 From: "jimblandy@gmail.com" Date: Mon, 27 Jul 2009 21:32:31 +0000 Subject: The has_sol field of struct FuncInfo is unused. This patch removes it. A=jimblandy R=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@364 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/linux/dump_symbols.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/common/linux/dump_symbols.cc') diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc index a5533f17..55680d5f 100644 --- a/src/common/linux/dump_symbols.cc +++ b/src/common/linux/dump_symbols.cc @@ -95,8 +95,6 @@ struct FuncInfo { uint32_t size; // Total size of stack parameters. uint32_t stack_param_size; - // Is there any lines included from other files? - bool has_sol; // Line information array. LineInfoList line_info; }; @@ -218,7 +216,6 @@ static int LoadLineInfo(struct nlist *list, const struct SourceFileInfo &source_file_info, struct FuncInfo *func_info) { struct nlist *cur_list = list; - func_info->has_sol = false; // Records which source file the following lines belongs. Default // to the file we are handling. This helps us handling inlined source. // When encountering N_SOL, we will change this to the source file @@ -233,8 +230,6 @@ static int LoadLineInfo(struct nlist *list, // N_SOL means source lines following it will be from // another source file. if (cur_list->n_type == N_SOL) { - func_info->has_sol = true; - if (cur_list->n_un.n_strx > 0 && cur_list->n_un.n_strx != current_source_name_index) { // The following lines will be from this source file. @@ -289,7 +284,6 @@ static int LoadFuncSymbols(struct nlist *list, func_info.rva_to_base = 0; func_info.size = 0; func_info.stack_param_size = 0; - func_info.has_sol = 0; // Stack parameter size. cur_list += LoadStackParamSize(cur_list, list_end, &func_info); -- cgit v1.2.1