Skip to content

Commit f8097fb

Browse files
committed
Add unused initialization
1 parent 47fbe85 commit f8097fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Utils/LoopUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ std::optional<unsigned> llvm::getLoopEstimatedTripCount(
894894

895895
// Return the estimated trip count from metadata unless the metadata is
896896
// missing or has no value.
897-
bool Missing;
897+
bool Missing = false; // Initialization is expected to be unused.
898898
if (auto TC = getOptionalIntLoopAttribute(L, LLVMLoopEstimatedTripCount,
899899
&Missing)) {
900900
LLVM_DEBUG(dbgs() << "getLoopEstimatedTripCount: "

0 commit comments

Comments
 (0)