tests/tcg: fix missing return
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 12 May 2021 10:20:49 +0000 (11:20 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 May 2021 08:36:21 +0000 (09:36 +0100)
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>
tests/tcg/multiarch/system/memory.c

index eb0ec6f8ebe9480100254e11ad7fe1298c14a875..41c7f66e2ed90ee3c8fa8f037b7f852e0ac19e21 100644 (file)
@@ -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);