From 28a2d5c62b0bf7202bcc2fecc4ae0b2b043b45c6 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Tue, 4 Apr 2006 03:46:18 +0000 Subject: [PATCH] * dwarf2-dbgfmt.c, cv-symline.c, nasm-pp.c: Clean up a few unused variables. svn path=/trunk/yasm/; revision=1454 --- modules/dbgfmts/codeview/cv-symline.c | 1 - modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c | 1 - modules/preprocs/nasm/nasm-pp.c | 1 - 3 files changed, 3 deletions(-) diff --git a/modules/dbgfmts/codeview/cv-symline.c b/modules/dbgfmts/codeview/cv-symline.c index e1ddea65..1640a47c 100644 --- a/modules/dbgfmts/codeview/cv-symline.c +++ b/modules/dbgfmts/codeview/cv-symline.c @@ -508,7 +508,6 @@ static int cv_generate_line_section(yasm_section *sect, /*@null@*/ void *d) { cv_line_info *info = (cv_line_info *)d; - yasm_dbgfmt_cv *dbgfmt_cv = info->dbgfmt_cv; if (!yasm_section_is_code(sect)) return 0; /* not code, so no line data for this section */ diff --git a/modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c b/modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c index ea21be62..a9a48b7d 100644 --- a/modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c +++ b/modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c @@ -237,7 +237,6 @@ yasm_dwarf2__set_head_end(dwarf2_head *head, yasm_bytecode *end_prevbc) static void dwarf2_head_bc_destroy(void *contents) { - dwarf2_head *head = (dwarf2_head *)contents; yasm_xfree(contents); } diff --git a/modules/preprocs/nasm/nasm-pp.c b/modules/preprocs/nasm/nasm-pp.c index 21d119ed..f19315dc 100644 --- a/modules/preprocs/nasm/nasm-pp.c +++ b/modules/preprocs/nasm/nasm-pp.c @@ -1287,7 +1287,6 @@ static FILE * inc_fopen(char *file, char **newname) { FILE *fp; - const char *prefix = ""; char *combine = NULL; fp = yasm__fopen_include(file, nasm_src_get_fname(), (const char **)ipaths, -- 2.40.0