summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/Gen.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2019-04-01 15:17:18 -0400
committerJoe George <joe@zeroc.com>2019-04-01 15:17:18 -0400
commit817993c476a49f0e39f80f754a837f611cacd887 (patch)
treea18cb54cc3d0d29a8f7b82c46a91e282fd40bc35 /cpp/src/slice2swift/Gen.cpp
parentServer side support (diff)
downloadice-817993c476a49f0e39f80f754a837f611cacd887.tar.bz2
ice-817993c476a49f0e39f80f754a837f611cacd887.tar.xz
ice-817993c476a49f0e39f80f754a837f611cacd887.zip
Remove unused vars
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r--cpp/src/slice2swift/Gen.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp
index 73050084625..0b959d1ea66 100644
--- a/cpp/src/slice2swift/Gen.cpp
+++ b/cpp/src/slice2swift/Gen.cpp
@@ -1194,10 +1194,6 @@ Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
baseClass = bases.front();
}
- const DataMemberList members = p->dataMembers();
- const DataMemberList baseMembers = baseClass ? baseClass->allDataMembers() : DataMemberList();
- const DataMemberList allMembers = p->allDataMembers();
-
const string swiftModule = getSwiftModule(getTopLevelModule(ContainedPtr::dynamicCast(p)));
const string name = getUnqualified(getAbsolute(p), swiftModule) + (!p->isInterface() ? "Disp" : "");
@@ -1272,7 +1268,7 @@ Gen::ObjectVisitor::visitOperation(const OperationPtr& op)
{
out << operationReturnType(op);
}
- else if (isAmd)
+ else if(isAmd)
{
out << "Void";
}