summaryrefslogtreecommitdiffstats
path: root/qom
diff options
context:
space:
mode:
authorStefan Weil2015-03-08 19:23:32 +0100
committerMichael Tokarev2015-03-19 09:11:55 +0100
commitfbe95bfb654f5f79778c9f292e55a67f91f5cc37 (patch)
tree420d9996fae3d7d99cdbc31e9aefb77610a3919c /qom
parenttarget-mips: Fix warning from Sparse (diff)
downloadqemu-fbe95bfb654f5f79778c9f292e55a67f91f5cc37.tar.gz
qemu-fbe95bfb654f5f79778c9f292e55a67f91f5cc37.tar.xz
qemu-fbe95bfb654f5f79778c9f292e55a67f91f5cc37.zip
qom: Fix warning from Sparse
Sparse report: qom/cpu.c:99:5: warning: returning void-valued expression Cc: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qom')
-rw-r--r--qom/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qom/cpu.c b/qom/cpu.c
index 970377e960..108bfa205a 100644
--- a/qom/cpu.c
+++ b/qom/cpu.c
@@ -96,7 +96,7 @@ void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list,
{
CPUClass *cc = CPU_GET_CLASS(cpu);
- return cc->get_memory_mapping(cpu, list, errp);
+ cc->get_memory_mapping(cpu, list, errp);
}
static void cpu_common_get_memory_mapping(CPUState *cpu,