Remove a dead variable flagged by gcc's -Wunused-but-set-variable. No

functionality change.

llvm-svn: 130672
This commit is contained in:
Nick Lewycky 2011-05-02 00:40:24 +00:00
parent 824908373e
commit 18a1ee7f51
1 changed files with 0 additions and 2 deletions

View File

@ -2005,12 +2005,10 @@ llvm::Function *CGObjCGNU::ModuleInitFunction() {
const llvm::StructType *SelStructTy = dyn_cast<llvm::StructType>(
SelectorTy->getElementType());
const llvm::Type *SelStructPtrTy = SelectorTy;
bool isSelOpaque = false;
if (SelStructTy == 0) {
SelStructTy = llvm::StructType::get(VMContext, PtrToInt8Ty,
PtrToInt8Ty, NULL);
SelStructPtrTy = llvm::PointerType::getUnqual(SelStructTy);
isSelOpaque = true;
}
// Name the ObjC types to make the IR a bit easier to read