aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2021-05-12 11:20:49 +0100
committerAlex Bennée <alex.bennee@linaro.org>2021-05-18 09:36:21 +0100
commitec6b219a4e25139ae4305c57f3e41bbd4ee36997 (patch)
treed8a231993d940f654914015be2d36eee4590fbad /tests/tcg
parentec9ad11d690bb0550f1e9ae40c216ad1d66e441e (diff)
downloadqemu-ec6b219a4e25139ae4305c57f3e41bbd4ee36997.zip
qemu-ec6b219a4e25139ae4305c57f3e41bbd4ee36997.tar.gz
qemu-ec6b219a4e25139ae4305c57f3e41bbd4ee36997.tar.bz2
tests/tcg: fix missing return
This was picked up when clang built the test. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210512102051.12134-30-alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'tests/tcg')
-rw-r--r--tests/tcg/multiarch/system/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcg/multiarch/system/memory.c b/tests/tcg/multiarch/system/memory.c
index eb0ec6f..41c7f66 100644
--- a/tests/tcg/multiarch/system/memory.c
+++ b/tests/tcg/multiarch/system/memory.c
@@ -326,6 +326,7 @@ static bool do_unsigned_test(init_ufn fn)
fn(i);
ok = do_unsigned_reads(i);
}
+ return ok;
#else
fn(0);
return do_unsigned_reads(0);