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]

[patch] sim: drop duplicate break statements in sim-fpu


Happened to notice while surfing the code base.  Committed as obvious.
-mike

2010-04-10  Mike Frysinger  <vapier@gentoo.org>

	* sim-fpu.c (sim_fpu_print_status): Remove duplicate break statements.

RCS file: /cvs/src/src/sim/common/sim-fpu.c,v
retrieving revision 1.16
diff -u -p -r1.16 sim-fpu.c
--- sim/common/sim-fpu.c	1 Jan 2010 10:03:27 -0000	1.16
+++ sim/common/sim-fpu.c	10 Apr 2010 08:24:16 -0000
@@ -2532,27 +2532,21 @@ sim_fpu_print_status (int status,
 	case sim_fpu_status_invalid_sqrt:
 	  print (arg, "%sSQRT", prefix);
 	  break;
-	  break;
 	case sim_fpu_status_inexact:
 	  print (arg, "%sX", prefix);
 	  break;
-	  break;
 	case sim_fpu_status_overflow:
 	  print (arg, "%sO", prefix);
 	  break;
-	  break;
 	case sim_fpu_status_underflow:
 	  print (arg, "%sU", prefix);
 	  break;
-	  break;
 	case sim_fpu_status_invalid_div0:
 	  print (arg, "%s/", prefix);
 	  break;
-	  break;
 	case sim_fpu_status_rounded:
 	  print (arg, "%sR", prefix);
 	  break;
-	  break;
 	}
       i <<= 1;
       prefix = ",";

Attachment: signature.asc
Description: This is a digitally signed message part.


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