summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Bennée2021-05-12 12:20:49 +0200
committerAlex Bennée2021-05-18 10:36:21 +0200
commitec6b219a4e25139ae4305c57f3e41bbd4ee36997 (patch)
treed8a231993d940f654914015be2d36eee4590fbad /tests
parenttests/tcg/ppc64le: tests for brh/brw/brd (diff)
downloadqemu-ec6b219a4e25139ae4305c57f3e41bbd4ee36997.tar.gz
qemu-ec6b219a4e25139ae4305c57f3e41bbd4ee36997.tar.xz
qemu-ec6b219a4e25139ae4305c57f3e41bbd4ee36997.zip
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')
-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 eb0ec6f8eb..41c7f66e2e 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);