aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-06-28 12:53:29 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-06-28 12:53:29 +0000
commita61fdf08f5508c064ed82777cf83608e609044dc (patch)
tree8bd0ee888b1402c04a7a4251cdd9bba6f39f68bd
parent68f107fadb5763524f2824828276dea553b1abbd (diff)
downloadgdb-a61fdf08f5508c064ed82777cf83608e609044dc.zip
gdb-a61fdf08f5508c064ed82777cf83608e609044dc.tar.gz
gdb-a61fdf08f5508c064ed82777cf83608e609044dc.tar.bz2
Remove redundant statement
* ldlang.c (update_wild_statements): Remove redundant statement.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldlang.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index b9b325e..9ecbe78 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ldlang.c (update_wild_statements): Remove redundant statement.
+
2012-06-25 Alan Modra <amodra@gmail.com>
* ldlang.c (load_symbols): Close file and set flags.loaded
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 7dd2fa4..e94d261 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -3494,7 +3494,6 @@ update_wild_statements (lang_statement_union_type *s)
break;
case lang_wild_statement_enum:
- sec = s->wild_statement.section_list;
for (sec = s->wild_statement.section_list; sec != NULL;
sec = sec->next)
{