commit | 7d66bf9d901f5db995c991e07c0c4b89f73be01b | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Jan 24 14:26:10 2020 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Jan 24 14:28:45 2020 -0800 |
tree | 6657a4c551776959816b5bf13e81650045ec374b | |
parent | 3ff4245c70a0cd340a5231f7f1f7d98608a47b53 [diff] |
Fix new clang compiler warning Bug: 148287059 Test: make Change-Id: I24972955454fa40fc565744e2caaaa636caa44c2
diff --git a/tests/fenv_test.cpp b/tests/fenv_test.cpp index d27808f..e983a1c 100644 --- a/tests/fenv_test.cpp +++ b/tests/fenv_test.cpp
@@ -27,7 +27,7 @@ volatile float m = 0x1.0p23f; volatile float x = f + m; ASSERT_FLOAT_EQ(expectation1, x); - x -= m; + x = x - m; ASSERT_EQ(expectation2, x); }