From 89cdfe5739c7646eaba0f004158522d39c0808aa Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Mon, 1 May 2006 09:21:46 +0000 Subject: * listing.c (listing_listing): Remove useless loop. * macro.c (macro_expand): Remove is_positional local variable. * read.c (s_comm_internal): Simplify `if' condition 1 || x -> 1 and simplify surrounding expressions, where possible. (assign_symbol): Likewise. (s_weakref): Likewise. * symbols.c (colon): Likewise. --- gas/macro.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gas/macro.c') diff --git a/gas/macro.c b/gas/macro.c index af98bad..e6e9d05 100644 --- a/gas/macro.c +++ b/gas/macro.c @@ -1025,7 +1025,6 @@ macro_expand (int idx, sb *in, macro_entry *m, sb *out) sb t; formal_entry *ptr; formal_entry *f; - int is_positional = 0; int is_keyword = 0; int narg = 0; const char *err = NULL; @@ -1116,8 +1115,6 @@ macro_expand (int idx, sb *in, macro_entry *m, sb *out) } else { - /* This is a positional arg. */ - is_positional = 1; if (is_keyword) { err = _("can't mix positional and keyword arguments"); -- cgit v1.1