Skip to content

Commit 6815c46

Browse files
vbvictorlocalspook
andauthored
Update clang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
Co-authored-by: Victor Chernyakin <[email protected]>
1 parent 3c6d982 commit 6815c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static bool applyDiceHeuristic(StringRef Arg, StringRef Param,
288288
std::size_t Intersection = 0;
289289

290290
// Find the intersection between the two sets.
291-
for (const auto &[Key, Value] : ParamBigrams)
291+
for (const auto &[Key, _] : ParamBigrams)
292292
Intersection += ArgBigrams.count(Key);
293293

294294
// Calculate Dice coefficient.

0 commit comments

Comments
 (0)