mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 08:00:15 +02:00
CRT: Silence -Wunused-but-set-variable warnings in libm.h
This commit is contained in:
1 parent
466ee3cbcf
commit
4e9399e029
1 file changed
+3
@@ -153,6 +153,7 @@ static inline long double fp_barrierl(long double x) {
|
||||
static inline void fp_force_evalf(float x) {
|
||||
volatile float y;
|
||||
y = x;
|
||||
(void)y;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -161,6 +162,7 @@ static inline void fp_force_evalf(float x) {
|
||||
static inline void fp_force_eval(double x) {
|
||||
volatile double y;
|
||||
y = x;
|
||||
(void)y;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -169,6 +171,7 @@ static inline void fp_force_eval(double x) {
|
||||
static inline void fp_force_evall(long double x) {
|
||||
volatile long double y;
|
||||
y = x;
|
||||
(void)y;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user