conditional expression is constant
MSVC: C4127: conditional expression is constant
This commit is contained in:
committed by
Sam Lantinga
parent
d063cb01e9
commit
0c121ad6a7
@@ -1060,7 +1060,8 @@ exp_overflowCase(void *args)
|
||||
{
|
||||
double result;
|
||||
|
||||
if (sizeof(double) > 8) {
|
||||
const bool double_is_larger_than_64bit = sizeof(double) > 8;
|
||||
if (double_is_larger_than_64bit) {
|
||||
return TEST_SKIPPED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user