diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-09-12 18:45:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 18:45:36 (GMT) |
commit | 5131cf737cf3a4d81923c9c72536a07384292cd7 (patch) | |
tree | 1d9a2d39afdfb98e874f168fd7e4e8476b95c5d3 | |
parent | d25268a55f6f6f38c65a7d1b7b119e33a46d1688 (diff) | |
parent | ca247e17975c7de295b16ec85e4ed05aefaa3190 (diff) | |
download | googletest-5131cf737cf3a4d81923c9c72536a07384292cd7.zip googletest-5131cf737cf3a4d81923c9c72536a07384292cd7.tar.gz googletest-5131cf737cf3a4d81923c9c72536a07384292cd7.tar.bz2 |
Merge pull request #1828 from gdsotirov/patch-1
Return GTEST_ATTRIBUTE_UNUSED_ on record_property_env
-rw-r--r-- | googletest/test/gtest_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/gtest_unittest.cc b/googletest/test/gtest_unittest.cc index f7213fb..fa10224 100644 --- a/googletest/test/gtest_unittest.cc +++ b/googletest/test/gtest_unittest.cc @@ -2117,7 +2117,7 @@ class UnitTestRecordPropertyTestEnvironment : public Environment { }; // This will test property recording outside of any test or test case. -static Environment* record_property_env = +static Environment* record_property_env GTEST_ATTRIBUTE_UNUSED_ = AddGlobalTestEnvironment(new UnitTestRecordPropertyTestEnvironment); // This group of tests is for predicate assertions (ASSERT_PRED*, etc) |