diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-05 11:47:55 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-05 11:47:55 +0000 |
commit | 1ed1a7873882b75d1c857a0b3d0415be70d886ef (patch) | |
tree | 575285ff0051d4c6dac64b0637268fb8162b290a | |
parent | 60dd316ea735c5cb9d8f4fbba1d2262ef0765e88 (diff) |
Silence some warnings about no value returned from non-void function
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5430 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | target-m68k/translate.c | 1 | ||||
-rw-r--r-- | target-sh4/translate.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 98056000c7..df3a418ae8 100644 --- a/target-m68k/translate.c +++ b/target-m68k/translate.c @@ -449,6 +449,7 @@ static inline int opsize_bytes(int opsize) case OS_DOUBLE: return 8; default: qemu_assert(0, "bad operand size"); + return 0; } } diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 4614c8674b..91821a18ae 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -228,7 +228,7 @@ void sh4_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)) (*cpu_fprintf)(f, "%s\n", sh4_defs[i].name); } -static int cpu_sh4_register(CPUSH4State *env, const sh4_def_t *def) +static void cpu_sh4_register(CPUSH4State *env, const sh4_def_t *def) { env->pvr = def->pvr; env->prr = def->prr; |