Skip to content

Commit 96cf03f

Browse files
committed
OwnershipUtils: fix a warning
Removed a left over from the work on the borrowed-from instruction
1 parent 5609657 commit 96cf03f

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)