diff options
author | midipix <writeonce@midipix.org> | 2016-05-06 16:08:36 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:47 -0500 |
commit | 69c4cd9beb953b85ddf4ed4ccd87b356e99bcda1 (patch) | |
tree | 86439ddaa7bd8f5238655c099d3e57ec239db333 /src/reader | |
parent | 7255eff9dd851c6db11f199216d233ddb50a9727 (diff) | |
download | perk-69c4cd9beb953b85ddf4ed4ccd87b356e99bcda1.tar.bz2 perk-69c4cd9beb953b85ddf4ed4ccd87b356e99bcda1.tar.xz |
pe_read_optional_header_big_endian(): remove dead assignments and unused vars.
Diffstat (limited to 'src/reader')
-rw-r--r-- | src/reader/pe_read_optional_header.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/reader/pe_read_optional_header.c b/src/reader/pe_read_optional_header.c index 48e7fce..24aa95b 100644 --- a/src/reader/pe_read_optional_header.c +++ b/src/reader/pe_read_optional_header.c @@ -58,8 +58,6 @@ static int pe_read_optional_header_big_endian(const union pe_opt_hdr * p, struct struct pe_opt_hdr_align * aalign; struct pe_opt_hdr_img * aimg; struct pe_opt_hdr_ldr * aldr; - struct pe_opt_hdr_dirs * adirs; - size_t sdirs; m->std.magic = pe_read_short(p->opt_hdr_32.magic); memset(&m->dirs,0,sizeof(m->dirs)); @@ -72,7 +70,6 @@ static int pe_read_optional_header_big_endian(const union pe_opt_hdr * p, struct aalign = (struct pe_opt_hdr_align *)&p->opt_hdr_32.section_align; aimg = (struct pe_opt_hdr_img *)&p->opt_hdr_32.size_of_image; aldr = (struct pe_opt_hdr_ldr *)&p->opt_hdr_32.loader_flags; - adirs = (struct pe_opt_hdr_dirs *)&p->opt_hdr_32.export_tbl; break; case PE_MAGIC_PE32_PLUS: @@ -80,7 +77,6 @@ static int pe_read_optional_header_big_endian(const union pe_opt_hdr * p, struct aalign = (struct pe_opt_hdr_align *)&p->opt_hdr_64.section_align; aimg = (struct pe_opt_hdr_img *)&p->opt_hdr_64.size_of_image; aldr = (struct pe_opt_hdr_ldr *)&p->opt_hdr_64.loader_flags; - adirs = (struct pe_opt_hdr_dirs *)&p->opt_hdr_64.export_tbl; break; default: |