diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-03-28 20:54:13 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-03-28 20:54:13 +0000 |
commit | edd2cb381e9c7a45354677c7fb6a93ae2a0080b7 (patch) | |
tree | 21e88ade8ed436b76231d8267cbe6f37b5e79941 /lib/Sema/SemaType.cpp | |
parent | 84e9ab44af3a16f66d62590505db2036ef0aa03b (diff) |
[sema] Remove unused variable from r178283
Wouldn't it be cool if we had a compiler for Windows that could warn
about these things?
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index bf28907481..cbd8c31fa7 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -1738,7 +1738,6 @@ QualType Sema::BuildMemberPointerType(QualType T, QualType Class, // Otherwise we may disagree about the size at different points in the TU. // FIXME: MSVC picks a model on the first use that needs to know the size, // rather than on the first mention of the type, e.g. typedefs. - SourceRange DeclRange = RD->getSourceRange(); if (RequireCompleteType(Loc, Class, 0) && !RD->isBeingDefined()) { // We know it doesn't have an attribute and it's incomplete, so use the // unspecified inheritance model. If we're in the record body, we can |