PATCH: Remove redundant statement in update_wild_statements

H.J. Lu hongjiu.lu@intel.com
Thu Jun 28 12:55:00 GMT 2012


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)
 		{



More information about the Binutils mailing list