From b6f0779ea4efd001c19dbb76388d537d76903b88 Mon Sep 17 00:00:00 2001 From: Toon Knapen Date: Fri, 18 Jan 2002 15:38:00 +0000 Subject: [PATCH] removed declared but never referenced variables (spotted by mipspro compiler, generating warnings) [SVN r12346] --- src/engine/compile.c | 4 ---- src/engine/hdrmacro.c | 1 - 2 files changed, 5 deletions(-) diff --git a/src/engine/compile.c b/src/engine/compile.c index 2ad17bf4c..22c31ef28 100644 --- a/src/engine/compile.c +++ b/src/engine/compile.c @@ -843,7 +843,6 @@ evaluate_rule( module *prev_module = frame->module; LIST* l = var_expand( L0, rulename, rulename+strlen(rulename), frame->args, 0 ); - LIST* more_args = L0; if ( !l ) { @@ -1576,9 +1575,6 @@ debug_compile( int which, char *s, FRAME* frame ) static int level = 0; static char indent[36] = ">>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|"; - char* file; - int line; - if ( which >= 0 ) { int i; diff --git a/src/engine/hdrmacro.c b/src/engine/hdrmacro.c index 739534814..d9abbe56b 100644 --- a/src/engine/hdrmacro.c +++ b/src/engine/hdrmacro.c @@ -72,7 +72,6 @@ macro_headers( TARGET *t ) static regexp *re = 0; FILE *f; char buf[ 1024 ]; - int i; if ( DEBUG_HEADER ) printf( "macro header scan for %s\n", t->name );