From 8dfa5f1776c2703bba757c388acf90c7fd8551b4 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Tue, 18 Jan 2011 02:00:16 +0000 Subject: Fix warnings found by gcc-4.6, from -Wunused-but-set-variable and -Wint-to-pointer-cast. llvm-svn: 123719 --- clang/lib/CodeGen/CGExprComplex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGExprComplex.cpp') diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index 5c4d0a56..bdd2454 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -538,7 +538,7 @@ EmitCompoundAssignLValue(const CompoundAssignOperator *E, ComplexPairTy &Val) { TestAndClearIgnoreReal(); TestAndClearIgnoreImag(); - QualType LHSTy = E->getLHS()->getType(), RHSTy = E->getRHS()->getType(); + QualType LHSTy = E->getLHS()->getType(); BinOpInfo OpInfo; -- cgit v1.1