Merge pull request #1828 from gdsotirov/patch-1

Return GTEST_ATTRIBUTE_UNUSED_ on record_property_env
This commit is contained in:
Gennadiy Civil 2018-09-12 14:45:36 -04:00 committed by GitHub
commit 5131cf737c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)