From: Kaelyn Uhrain Date: Tue, 26 Jul 2011 01:42:22 +0000 (+0000) Subject: Test commit X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22f7bb7e7742bd65e903ef4c4a738d9e01e5d08c;p=clang Test commit git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136044 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 3d4846d98c..4a9b4bcfdf 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -310,7 +310,6 @@ ExprResult Sema::DefaultLvalueConversion(Expr *E) { // A glvalue of a non-function, non-array type T can be // converted to a prvalue. if (!E->isGLValue()) return Owned(E); - QualType T = E->getType(); assert(!T.isNull() && "r-value conversion on typeless expression?");