Fix coff-pe-read.c to compile with Wunused.
authorAleksandar Ristovski <aristovski@qnx.com>
Mon, 1 Apr 2013 12:53:01 +0000 (12:53 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Mon, 1 Apr 2013 12:53:01 +0000 (12:53 +0000)
commitcebca8c1a2c854bf730f1575c2e605d7f9d13c24
tree925accc927f3ae9ffbc9fd808ed0c0296769fdc1
parente2df15478a4103e20ce9dd41384eb3c33b15876f
Fix coff-pe-read.c to compile with Wunused.

* coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'.
(add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'.
(read_pe_exported_syms): Remove unused 'exportix'.
(pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries',
'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata',
'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'.

Reference: http://sourceware.org/ml/gdb-patches/2013-03/msg01081.html
gdb/ChangeLog
gdb/coff-pe-read.c