From: Chandler Carruth Date: Thu, 12 Sep 2013 23:30:48 +0000 (+0000) Subject: Remove an unused variable, fixing -Werror build with latest Clang. X-Git-Tag: android-x86-6.0-r1~129^2~2146 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a2c982129ed93f4bcb9738e0749a0b08e51a8b83;p=android-x86%2Fexternal-llvm.git Remove an unused variable, fixing -Werror build with latest Clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190640 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 34571e238d4..d042ed0147c 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -609,7 +609,6 @@ static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign, /// getByValTypeAlignment - Return the desired alignment for ByVal aggregate /// function arguments in the caller parameter area. unsigned PPCTargetLowering::getByValTypeAlignment(Type *Ty) const { - const TargetMachine &TM = getTargetMachine(); // Darwin passes everything on 4 byte boundary. if (PPCSubTarget.isDarwin()) return 4;