Resolve compiler warnings for regression tests

This commit is contained in:
Ruihan Li
2024-03-16 00:40:17 +08:00
committed by Tate, Hongliang Tian
parent 42881bcdaa
commit dede22843a
8 changed files with 13 additions and 13 deletions

View File

@ -193,6 +193,7 @@ int test_handle_sigfpe()
volatile int c;
fxsave(x);
c = div_maybe_zero(a, b);
(void)c;
fxsave(y);
// Asterinas does not save and restore fpregs now, so we emit this check.