summaryrefslogtreecommitdiff
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
commit1484e78d337f3d73fd0bf4a588956a494182a022 (patch)
treeb3617d34ef9e4b584028fc539ce3deaaa0e719c8 /gas/listing.c
parentb21e8cc408eb12bea690167d360e6edfca49d3d5 (diff)
downloadbinutils-redhat-1484e78d337f3d73fd0bf4a588956a494182a022.tar.gz
* 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 61ef6f55e4..717ed60111 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)