diff options
author | chandlerc <chandlerc@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-05-09 08:16:50 (GMT) |
---|---|---|
committer | chandlerc <chandlerc@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-05-09 08:16:50 (GMT) |
commit | cdc0aae155e9069eeebcb191570b8cb1b258ecd8 (patch) | |
tree | 6d63041cd316a6a373207fd9ab2363549883e985 /include | |
parent | c476707e82f8db4974912594fbf419326973cb2a (diff) | |
download | googletest-cdc0aae155e9069eeebcb191570b8cb1b258ecd8.zip googletest-cdc0aae155e9069eeebcb191570b8cb1b258ecd8.tar.gz googletest-cdc0aae155e9069eeebcb191570b8cb1b258ecd8.tar.bz2 |
Silence a Clang warning about an unused variable.
Diffstat (limited to 'include')
-rw-r--r-- | include/gtest/gtest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h index 921fad1..d027724 100644 --- a/include/gtest/gtest.h +++ b/include/gtest/gtest.h @@ -1969,7 +1969,7 @@ struct StaticAssertTypeEqHelper<T, T> {}; // to cause a compiler error. template <typename T1, typename T2> bool StaticAssertTypeEq() { - internal::StaticAssertTypeEqHelper<T1, T2>(); + (void)internal::StaticAssertTypeEqHelper<T1, T2>(); return true; } |