* [Qemu-devel] [5430] Silence some warnings about no value returned from non-void function
@ 2008-10-05 11:47 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-10-05 11:47 UTC (permalink / raw)
To: qemu-devel
Revision: 5430
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5430
Author: blueswir1
Date: 2008-10-05 11:47:55 +0000 (Sun, 05 Oct 2008)
Log Message:
-----------
Silence some warnings about no value returned from non-void function
Modified Paths:
--------------
trunk/target-m68k/translate.c
trunk/target-sh4/translate.c
Modified: trunk/target-m68k/translate.c
===================================================================
--- trunk/target-m68k/translate.c 2008-10-05 11:45:25 UTC (rev 5429)
+++ trunk/target-m68k/translate.c 2008-10-05 11:47:55 UTC (rev 5430)
@@ -449,6 +449,7 @@
case OS_DOUBLE: return 8;
default:
qemu_assert(0, "bad operand size");
+ return 0;
}
}
Modified: trunk/target-sh4/translate.c
===================================================================
--- trunk/target-sh4/translate.c 2008-10-05 11:45:25 UTC (rev 5429)
+++ trunk/target-sh4/translate.c 2008-10-05 11:47:55 UTC (rev 5430)
@@ -228,7 +228,7 @@
(*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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-05 11:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-05 11:47 [Qemu-devel] [5430] Silence some warnings about no value returned from non-void function Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).