summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-05-02 00:40:24 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-05-02 00:40:24 +0000
commit18a1ee7f51438fe3bb4a591bb370cb1ef797ea4b (patch)
treefa534837367dc0bd683867f9e61907b51053dac3 /clang/lib/CodeGen
parent824908373efa1805acefff55d1c1ed140336db75 (diff)
downloadbcm5719-llvm-18a1ee7f51438fe3bb4a591bb370cb1ef797ea4b.tar.gz
bcm5719-llvm-18a1ee7f51438fe3bb4a591bb370cb1ef797ea4b.zip
Remove a dead variable flagged by gcc's -Wunused-but-set-variable. No
functionality change. llvm-svn: 130672
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGObjCGNU.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp
index d28cfa57df0..9ef2b98f9b7 100644
--- a/clang/lib/CodeGen/CGObjCGNU.cpp
+++ b/clang/lib/CodeGen/CGObjCGNU.cpp
@@ -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
OpenPOWER on IntegriCloud