]> granicus.if.org Git - yasm/commitdiff
* dwarf2-dbgfmt.c, cv-symline.c, nasm-pp.c: Clean up a few unused variables.
authorPeter Johnson <peter@tortall.net>
Tue, 4 Apr 2006 03:46:18 +0000 (03:46 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 4 Apr 2006 03:46:18 +0000 (03:46 -0000)
svn path=/trunk/yasm/; revision=1454

modules/dbgfmts/codeview/cv-symline.c
modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c
modules/preprocs/nasm/nasm-pp.c

index e1ddea650f935245525f27c726830e2fc4af4634..1640a47c45a2800045a3fb74207b5cdb10be2d2d 100644 (file)
@@ -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 */
index ea21be62eb0c35fffaa53ebc39d66f5aad781790..a9a48b7d5f6aecafe727e38e425918a21e3096a8 100644 (file)
@@ -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);
 }
 
index 21d119ed018a933a366bd7b73866283456e05140..f19315dcebe8ffcc273558276d398205a0b359d4 100644 (file)
@@ -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,