aboutsummaryrefslogtreecommitdiff
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
parentec9ad11d690bb0550f1e9ae40c216ad1d66e441e (diff)
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>
-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);