aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/exec.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2008-11-11 22:20:54 +0000
committerJoel Sherrill <joel.sherrill@oarcorp.com>2008-11-11 22:20:54 +0000
commitd68c23cd04f713928535ba1cbee111b7fea5116e (patch)
tree7795522ca0a85bc6802c761bf753c76cfe4bf03a /sim/erc32/exec.c
parent3c8b2edaedc883b4a4cd12bf14348b29c0c23a79 (diff)
downloadgdb-d68c23cd04f713928535ba1cbee111b7fea5116e.zip
gdb-d68c23cd04f713928535ba1cbee111b7fea5116e.tar.gz
gdb-d68c23cd04f713928535ba1cbee111b7fea5116e.tar.bz2
2008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* erc32.c, exec.c: Fix warnings.
Diffstat (limited to 'sim/erc32/exec.c')
-rw-r--r--sim/erc32/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/erc32/exec.c b/sim/erc32/exec.c
index c9765d9..0aca49e 100644
--- a/sim/erc32/exec.c
+++ b/sim/erc32/exec.c
@@ -1713,7 +1713,7 @@ fpexec(op3, rd, rs1, rs2, sregs)
sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1];
sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1];
default:
- ;
+ break;
}
#endif
@@ -1886,7 +1886,7 @@ fpexec(op3, rd, rs1, rs2, sregs)
sregs->fs[rd & ~1] = sregs->fdp[rd | 1];
sregs->fs[rd | 1] = sregs->fdp[rd & ~1];
default:
- ;
+ break;
}
#endif
if (sregs->fpstate == FP_EXC_PE) {