mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Resolve compiler warnings for regression tests
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
42881bcdaa
commit
dede22843a
@ -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.
|
||||
|
Reference in New Issue
Block a user