From 8478ed5d18c2ce0db189bb274d74b351eb3ae659 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 16 Dec 2009 19:36:42 +0000 Subject: Remove superfluous 'extern' variable that was causing a warning with clang. llvm-svn: 91552 --- llvm/utils/unittest/googletest/gtest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/utils') diff --git a/llvm/utils/unittest/googletest/gtest.cc b/llvm/utils/unittest/googletest/gtest.cc index e46e90a2c47..b5a654f18bb 100644 --- a/llvm/utils/unittest/googletest/gtest.cc +++ b/llvm/utils/unittest/googletest/gtest.cc @@ -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 -- cgit v1.2.3