aboutsummaryrefslogtreecommitdiff
path: root/gas/listing.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-05-01 09:21:46 +0000
committerBen Elliston <bje@au.ibm.com>2006-05-01 09:21:46 +0000
commit89cdfe5739c7646eaba0f004158522d39c0808aa (patch)
treebfc15e9af77db4b990d69efbcc464bfad21aabe7 /gas/listing.c
parentc35da14031bf1f026af52fcce346803f47b5ae94 (diff)
downloadgdb-89cdfe5739c7646eaba0f004158522d39c0808aa.zip
gdb-89cdfe5739c7646eaba0f004158522d39c0808aa.tar.gz
gdb-89cdfe5739c7646eaba0f004158522d39c0808aa.tar.bz2
* 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.
Diffstat (limited to 'gas/listing.c')
-rw-r--r--gas/listing.c9
1 files changed, 0 insertions, 9 deletions
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)