Skip to content

Commit 33581a1

Browse files
authored
Merge pull request #73036 from eeckstein/fix-warning
OwnershipUtils: fix a warning
2 parents 460a030 + 96cf03f commit 33581a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SIL/Utils/OwnershipUtils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,6 @@ void BorrowedValue::getLocalScopeEndingInstructions(
937937
bool BorrowedValue::visitLocalScopeEndingUses(
938938
function_ref<bool(Operand *)> visitor) const {
939939
assert(isLocalScope() && "Should only call this given a local scope");
940-
SILValue v = value;
941940
switch (kind) {
942941
case BorrowedValueKind::Invalid:
943942
llvm_unreachable("Using invalid case?!");

0 commit comments

Comments
 (0)