Skip to content

Commit a995c56

Browse files
committed
[Gardening] Removed unused variable.
1 parent 24883bf commit a995c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Mandatory/AddressLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ void ValueStorageMap::recordComposingUseProjection(Operand *oper,
925925

926926
storage.isUseProjection = true;
927927

928-
if (EnumDecl *enumDecl = userValue->getType().getEnumOrBoundGenericEnum()) {
928+
if (userValue->getType().getEnumOrBoundGenericEnum()) {
929929
storage.initializesEnum = true;
930930
}
931931
assert(!storage.isPhiProjection());

0 commit comments

Comments
 (0)