Skip to content

Commit 976c0d4

Browse files
committed
[nfc] Remove unused variable "loc".
Fixes a warning for unused variable in OwnershipModelEliminator.
1 parent 3d91d7f commit 976c0d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SILOptimizer/Mandatory/OwnershipModelEliminator.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ void OwnershipModelEliminatorVisitor::splitDestructure(
342342
// instruction operands.
343343

344344
SILModule &M = destructureInst->getModule();
345-
SILLocation loc = destructureInst->getLoc();
346345
SILType opType = destructureOperand->getType();
347346

348347
llvm::SmallVector<Projection, 8> projections;

0 commit comments

Comments
 (0)