This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

[RFA] aoutx.h, aout_link_write_other_symbol, missing break statement (?)


Hey Nick,

Should there be a break here?  Or a "FALLTHROUGH" comment?
Looks like a break to me...

Cheers,
Michael

2011-03-03  Michael Snyder  <msnyder@vmware.com>

	* aoutx.h (aout_link_write_other_symbol): Missing break statement.

Index: aoutx.h
===================================================================
RCS file: /cvs/src/src/bfd/aoutx.h,v
retrieving revision 1.85
diff -u -p -u -p -r1.85 aoutx.h
--- aoutx.h	13 Dec 2010 01:06:15 -0000	1.85
+++ aoutx.h	3 Mar 2011 18:28:37 -0000
@@ -3637,6 +3637,7 @@ aout_link_write_other_symbol (struct aou
     case bfd_link_hash_undefweak:
       type = N_WEAKU;
       val = 0;
+      break;
     case bfd_link_hash_indirect:
       /* We ignore these symbols, since the indirected symbol is
 	 already in the hash table.  */

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