Skip to content

Commit 7dd34bf

Browse files
committed
Fix an unused variable warning.
1 parent 3c2c8df commit 7dd34bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/IRGen/IRGenDebugInfo.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ llvm::DISubprogram *IRGenDebugInfo::emitFunction(SILFunction &SILFn,
819819
llvm::Function *Fn) {
820820
auto *DS = SILFn.getDebugScope();
821821
assert(DS && "SIL function has no debug scope");
822+
(void) DS;
822823
return emitFunction(SILFn.getModule(), SILFn.getDebugScope(), Fn,
823824
SILFn.getRepresentation(), SILFn.getLoweredType(),
824825
SILFn.getDeclContext());

0 commit comments

Comments
 (0)