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/listing.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gas/listing.c') diff --git a/gas/listing.c b/gas/listing.c index 61ef6f5..717ed60 100644 --- a/gas/listing.c +++ b/gas/listing.c @@ -946,15 +946,6 @@ listing_listing (char *name ATTRIBUTE_UNUSED) buffer = xmalloc (listing_rhs_width); data_buffer = xmalloc (MAX_BYTES); eject = 1; - list = head; - - while (list != (list_info_type *) NULL && 0) - { - if (list->next) - list->frag = list->next->frag; - list = list->next; - } - list = head->next; while (list) -- cgit v1.1