From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5430] Silence some warnings about no value returned from non-void function
Date: Sun, 05 Oct 2008 11:47:56 +0000 [thread overview]
Message-ID: <E1KmS5c-0003QN-MO@cvs.savannah.gnu.org> (raw)
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;
reply other threads:[~2008-10-05 11:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1KmS5c-0003QN-MO@cvs.savannah.gnu.org \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).