Skip to content

Commit c8fa566

Browse files
pi1024epi1024e
authored andcommitted
Make booleans const
1 parent d3cade9 commit c8fa566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILOptimizer/FunctionSignatureTransforms/OwnedToGuaranteedTransform.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ bool FunctionSignatureTransform::OwnedToGuaranteedAnalyze() {
259259
if (FSODisableOwnedToGuaranteed)
260260
return false;
261261

262-
bool Result = OwnedToGuaranteedAnalyzeResults();
263-
bool Params = OwnedToGuaranteedAnalyzeParameters();
262+
const bool Result = OwnedToGuaranteedAnalyzeResults();
263+
const bool Params = OwnedToGuaranteedAnalyzeParameters();
264264
return Params || Result;
265265
}
266266

0 commit comments

Comments
 (0)