Remove superfluous 'extern' variable that was causing a warning with clang.
authorBill Wendling <isanbard@gmail.com>
Wed, 16 Dec 2009 19:36:42 +0000 (19:36 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 16 Dec 2009 19:36:42 +0000 (19:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91552 91177308-0d34-0410-b5e6-96231b3b80d8

utils/unittest/googletest/gtest.cc

index e46e90a2c47c4cf18de4ce7f229037f76c74f29c..b5a654f18bbc643eb4a4d6907fe44e5465627e21 100644 (file)
@@ -532,7 +532,7 @@ TypeId GetTestTypeId() {
 
 // The value of GetTestTypeId() as seen from within the Google Test
 // library.  This is solely for testing GetTestTypeId().
-extern const TypeId kTestTypeIdInGoogleTest = GetTestTypeId();
+const TypeId kTestTypeIdInGoogleTest = GetTestTypeId();
 
 // This predicate-formatter checks that 'results' contains a test part
 // failure of the given type and that the failure message contains the