From cdc0aae155e9069eeebcb191570b8cb1b258ecd8 Mon Sep 17 00:00:00 2001 From: chandlerc Date: Sun, 9 May 2010 08:16:50 +0000 Subject: [PATCH] Silence a Clang warning about an unused variable. --- include/gtest/gtest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h index 921fad11..d0277246 100644 --- a/include/gtest/gtest.h +++ b/include/gtest/gtest.h @@ -1969,7 +1969,7 @@ struct StaticAssertTypeEqHelper {}; // to cause a compiler error. template bool StaticAssertTypeEq() { - internal::StaticAssertTypeEqHelper(); + (void)internal::StaticAssertTypeEqHelper(); return true; }