Skip to content

Commit a5a1a63

Browse files
committed
Silence a couple release build warnings about unused variables.
1 parent efb1738 commit a5a1a63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/SILOptimizer/FunctionSignatureTransforms/FunctionSignatureOpts.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,8 @@ FunctionSignatureTransformDescriptor::createOptimizedSILFunctionName() {
185185
Mangler.setReturnValueOwnedToUnowned();
186186
}
187187

188-
SILModule &M = F->getModule();
189188
auto MangledName = Mangler.mangle();
190-
assert(!M.hasFunction(MangledName));
189+
assert(!F->getModule().hasFunction(MangledName));
191190

192191
return MangledName;
193192
}

lib/Sema/CSApply.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5737,6 +5737,7 @@ Expr *ExprRewriter::coerceCallArguments(
57375737

57385738
assert((matchCanFail || !failed) && "Call arguments did not match up?");
57395739
(void)failed;
5740+
(void)matchCanFail;
57405741

57415742
// We should either have parentheses or a tuple.
57425743
auto *argTuple = dyn_cast<TupleExpr>(arg);

0 commit comments

Comments
 (0)