This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Remove redundant statement in update_wild_statements


Hi,

I checked in this patch to remove redundant statement.

H.J.
---
	* ldlang.c (update_wild_statements): Remove redundant statement.

diff --git a/ld/ldlang.c b/ld/ldlang.c
index 7dd2fa4..fd31e20 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)
 		{


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]