Skip to content

Commit 806c600

Browse files
committed
stdlib: Resolve an unused variable warning.
1 parent a549d01 commit 806c600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/ProtocolConformance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ template<> void ProtocolConformanceDescriptor::dump() const {
134134
return "<unknown addr>";
135135
};
136136

137-
switch (auto kind = getTypeKind()) {
137+
switch (getTypeKind()) {
138138
case TypeReferenceKind::DirectObjCClassName:
139139
printf("direct Objective-C class name %s", getDirectObjCClassName());
140140
break;

0 commit comments

Comments
 (0)