From: Bill Wendling Date: Wed, 16 Dec 2009 19:36:42 +0000 (+0000) Subject: Remove superfluous 'extern' variable that was causing a warning with clang. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0a0124e4f60da9ee8d76ccaab3116862a20be2b0;p=oota-llvm.git Remove superfluous 'extern' variable that was causing a warning with clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91552 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/unittest/googletest/gtest.cc b/utils/unittest/googletest/gtest.cc index e46e90a2c47..b5a654f18bb 100644 --- a/utils/unittest/googletest/gtest.cc +++ b/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