aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/dgen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/ppc/dgen.c b/sim/ppc/dgen.c
index 0f9b02f..0cc210b 100644
--- a/sim/ppc/dgen.c
+++ b/sim/ppc/dgen.c
@@ -248,9 +248,8 @@ gen_spreg_c(spreg_table *table, lf *file)
else
ASSERT(0);
}
- lf_printf(file, " default:\n");
- lf_printf(file, " return 0;\n");
lf_printf(file, " }\n");
+ lf_printf(file, " return 0;\n");
}
lf_printf(file, "}\n");
}