No more unused warnings.
Change-Id: I006223c47e4b714ef55487c33c36ec50a80642ac
diff --git a/frc971/control_loops/team_number_test_environment.h b/frc971/control_loops/team_number_test_environment.h
index f0c1a16..5c95c28 100644
--- a/frc971/control_loops/team_number_test_environment.h
+++ b/frc971/control_loops/team_number_test_environment.h
@@ -20,7 +20,7 @@
// The static variable in a header is intentional. Kind of a hack, undefined
// order, but that works OK here.
-static ::testing::Environment* const team_number_env =
+__attribute__((unused)) static ::testing::Environment *const team_number_env =
::testing::AddGlobalTestEnvironment(new TeamNumberEnvironment());
} // namespace testing
diff --git a/third_party/googletest/googletest/test/gtest_unittest.cc b/third_party/googletest/googletest/test/gtest_unittest.cc
index 60aed35..840171b 100644
--- a/third_party/googletest/googletest/test/gtest_unittest.cc
+++ b/third_party/googletest/googletest/test/gtest_unittest.cc
@@ -2096,7 +2096,7 @@
};
// This will test property recording outside of any test or test case.
-static Environment* record_property_env =
+__attribute__((unused)) static Environment* record_property_env =
AddGlobalTestEnvironment(new UnitTestRecordPropertyTestEnvironment);
// This group of tests is for predicate assertions (ASSERT_PRED*, etc)