[pkg-d-commits] [ldc] 43/149: Remove unused variables.
Matthias Klumpp
mak at moszumanska.debian.org
Sun Apr 23 22:36:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.2.0
in repository ldc.
commit 3b28e79a9f70017ba3c84b453795cdf80d677ca0
Author: Johan Engelen <jbc.engelen at gmail.com>
Date: Fri Jan 20 22:21:39 2017 +0100
Remove unused variables.
---
gen/abi-ppc64le.cpp | 1 -
ir/irtypeclass.cpp | 2 --
2 files changed, 3 deletions(-)
diff --git a/gen/abi-ppc64le.cpp b/gen/abi-ppc64le.cpp
index d0aa938..6e6c0ed 100644
--- a/gen/abi-ppc64le.cpp
+++ b/gen/abi-ppc64le.cpp
@@ -49,7 +49,6 @@ struct PPC64LETargetABI : TargetABI {
void rewriteFunctionType(TypeFunction *tf, IrFuncTy &fty) override {
// return value
- Type *retTy = fty.ret->type->toBasetype();
if (!fty.ret->byref) {
rewriteArgument(fty, *fty.ret);
}
diff --git a/ir/irtypeclass.cpp b/ir/irtypeclass.cpp
index ef6b5a2..6013159 100644
--- a/ir/irtypeclass.cpp
+++ b/ir/irtypeclass.cpp
@@ -40,8 +40,6 @@ void IrTypeClass::addClassData(AggrTypeBuilder &builder,
// KLUDGE: The first pointer in the vtbl will be of type object.Interface;
// extract that from the "well-known" object.TypeInfo_Class definition.
// For C++ interfaces, this vtbl entry has to be omitted
- const auto interfaceArrayType = Type::typeinfoclass->fields[3]->type;
- const auto interfacePtrType = interfaceArrayType->nextOf()->pointerTo();
builder.alignCurrentOffset(Target::ptrsize);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list